Creating a new CSS rule

You can create a CSS rule to automate the formatting of HTML tags or a range of text identified by a class attribute.

To create a new CSS rule:

  1. Place the insertion point in the document, and then do one of the following to open the New CSS Rule dialog box:
  2. Define the type of CSS style you want to create:
  3. Select the location in which the style will be defined:
  4. Click OK.

    The Style Definition dialog box appears.

  5. Select the style options you want to set for the new CSS rule.
  6. When you are done setting style attributes, click OK.

For information on specific CSS style settings, see the following topics:

Related topics