Change the color of PHP code

You can change the font size and color of PHP scripts in Code view to make PHP code easier to read and edit.

To specify the color of PHP code

  1. On the Tools menu, click Page Editor Options.

  2. In the Page Editor Options dialog box, on the Color Coding tab, select Code View Settings.

  3. In the Display items list, select the PHP script items that you want to format.

  4. In the Item foreground, Item background, and Font style lists, select the options that you want.

    Note

    To reset the options to the default settings, click Reset Defaults.

See also

Tasks

Set IntelliSense options for PHP
Author PHP by using IntelliSense
Create a PHP page
Insert a PHP script
Previewing a PHP page
Show or hide PHP formatting marks in Design view

Concepts

Using IntelliSense with PHP
Working with PHP sites

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.