Style sheets open in the Style Editor. The Style Editor contains the tools to create new styles or edit existing ones and the Style Inspector for viewing the source of the formatting for a style. See Work with the Style Inspector for more information about using this toolpane.

 

You add new styles to a style sheet using the Add Style list, which includes all the style elements that can be added to the style sheet. The first time you add a style for an element, it is created as the default style (except for Text element styles). As you add additional styles of the same element, you can select which style is the default. It is important to consider which style you assign as the default for an element because the Web Page Editor uses the default style when you initially add that element to a web page.

 

The Add Styles list includes the following compound and element styles. Compound styles, such as Table and List, cover several elements.  

Note: See Format Styles for more information about creating styles for specific elements.

 

Styles appear in a style sheet with the following components:

Expand and Collapse Styles

Collapsing and expanding styles hides the preview and any print and language variations, reducing the style to display the header only. Hiding style details makes it easier to find and work with styles. You can use the icons in the style headers to collapse and expand an individual style or use the icons in the toolbar to collapse and expand all styles in the style sheet. Collapsing all styles reduces the view to style headers only, hiding the previews and all print and language variations.

 

Note: The Standard style sheet initially opens showing style headers expanded to display the preview pane and all print and language variations collapsed.

 

Style Order

Styles are grouped by element in the style sheet, and then alphabetically ordered by style name within each type. The order of the style elements is fixed by expected usage, with the exception of the document body style, which is listed first because of style inheritance. You cannot reorder the style elements. The fixed order is:

  1. Document Body
  2. Paragraph
  3. Text
  4. Table
  5. Bulleted List
  6. Numbered List
  7. Heading 1 to Heading 6
  8. Image
  9. Link
  10. Horizontal Line
  11. Preformatted
  12. Address
  13. Block Quote

ProcedureTo create a new style:

  1. From the Style Editor - Styles toolbar, click Add Style Add Style and select the style you want to create.
     
  2. Type a name for the new style, replacing the <Enter style name here> placeholder text.

ProcedureTo set or remove a style as the default:

  1. Select the style that you want to set or remove as the default style.
     
  2. To set a style as the default for the style type, click the element name on the right side of the header. To remove the default setting from the style, click the element name or [default Default style] label on the right side of the header.
     
    or
     
    Select the style and click Default style Make Default on the Style Editor - Styles toolbar to set or remove the default setting for a style.

ProcedureTo rename a style:

  1. Select the style that you want to rename.
     
  2. In the header, click in the style name, edit the name, and press ENTER.

ProcedureTo collapse and expand styles:

  1. Click Collapse style in the header of a main, print, or language style that you want to collapse.
     
  2. Click Expand style in the header of a main, print, or language style that you want to expand.
     
     
  3. Click Collapse All Collapse All in the toolbar to collapse all styles to style headers.
      
  4. Click Expand All Expand All in the toolbar to expand all styles.

Table of Contents  Back

Create_Styles