Lists, Style Builder Dialog Box
The Lists page of the Style Builder dialog box makes it possible for you to define cascading style sheet (CSS) style attributes that format lists created using the <OL> and <UL> tags. You can apply these attributes directly to HTML elements, or you can add them to CSS style rules.
To apply list attributes directly to HTML elements on your page
Open your HTML document in Design view of the HTML Designer and select the elements to format.
Click Style on the Format menu to open the Style Builder dialog box.
Click Lists in the left pane of the Style Builder dialog box.
The Lists, Style Builder dialog box appears in the right pane.
When you format elements selected in Design view, CSS style attributes are inserted inline into the HTML markup for your page. Switch to HTML view to review the new style attributes inserted.
To add list attributes to a CSS style rule defined in an external style sheet
Open an existing external style sheet and place the insertion point within the curly braces ({ }) that follow the selector for the desired style.
Click Build Style on the Styles menu to open the Style Builder dialog box.
Click Lists in the left pane of the Style Builder dialog box.
The Lists, Style Builder dialog box appears in the right pane.
Note: |
|---|
The Styles menu appears when you open an external CSS style sheet for editing. On the Styles menu, the Build Style option becomes available when you place the insertion point within the curly braces that follow the selector for a style rule. |
A CSS style class defined in an external style sheet can be applied to an element within the <BODY> element of a Web page by assigning the CSS style selector as the CLASS property for the element.
Options available on the Lists page of the Style Builder dialog box include the following.
Lists
Sets attributes for the type of list, either bulleted or without bullets. The attributes generally apply to styles that affect <LI></LI> or <OL></OL> tags. Select <Not Set> (no option chosen), Bulleted, or Unbulleted. For example, if you select Unbulleted, the following code is added:
LIST-STYLE-TYPE:none
Bullets
The attributes listed in the following table format bullets. Bullets include numbers, letters, Roman numerals, standard bullet images (Circle, Disc, Square), or custom bullet images.
Note: |
|---|
Different styles for bullets become available after you select Bulleted as the list type. |
Note: