Share via


Validation, CSS, Text Editor, Options Dialog Box

This dialog box lets you specify settings for validation and error detection in the CSS editor.

To access this dialog box

  1. In Microsoft Visual Web Developer, on the menu bar, choose Tools and then choose Options.

    The Options dialog box opens.

  2. In the left panel, expand the Text Editor node, expand the CSS node, and then choose Validation.

    If you have configured your environment settings for Web development, this element is not available unless you select the Show all settings check box. For more information about environment settings, see How to: Change Select Settings.

Note

Additional cascading style sheet (CSS) options can be found under the HTML Designer node, which is visible if the Show all settings check box is selected.

Tasks

UI Elements

Validation

Use this option to choose the version of the CSS against which you want your style sheets to be validated.

Options

  • Detect errors
    When this option is selected, the options that follow are enabled. You can select any combination of the options.

  • Detect unknown properties
    When this option is selected, unrecognized properties are underlined with red wavy lines.

  • Detect invalid values
    When this option is selected, invalid values are underlined with red wavy lines.

  • as warnings
    Choose this option to mark CSS validation errors as warnings. This option is useful when you do not want CSS errors to appear in the build error list.

See Also

Reference

General, CSS, Text Editor, Options Dialog Box

Format, CSS, Text Editor, Options Dialog Box

Tabs, CSS, Text Editor, Options Dialog Box

CSS Editor