Dreamweaver

Set CSS Styles preferences

CSS style preferences control how Dreamweaver writes the code that defines CSS styles. CSS styles can be written in a shorthand form that some people find easier to work with. Some older versions of browsers, however, do not correctly interpret the shorthand.

  1. Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh) and from the Category list select CSS Styles.
  2. Set the CSS style options you want to apply:
    When Creating CSS Rules Use Shorthand For
    Lets you select which CSS style properties Dreamweaver writes in shorthand.

    When Editing CSS Rules Use Shorthand
    Controls whether Dreamweaver rewrites existing styles in shorthand.
    Select If Original Used Shorthand to leave all styles as they are.

    Select According to Settings Above to rewrite styles in shorthand for the properties selected in Use Shorthand For.

    When Double-Clicking In CSS Panel
    Lets you select a tool for editing CSS rules.

  3. Click OK.