You can create a CSS rule to automate the formatting of HTML tags or a range of text identified by a class attribute.
class attribute to a range or block of text, select the Class option and then enter a name for the style in the Name text box. |
NOTE |
|
Class names must begin with a period and can contain any combination of letters and numbers (for example, .myhead1). If you don't enter a beginning period, Dreamweaver automatically enters it for you. |
Id attribute, select the Advanced option and then enter one or more HTML tags in the Selector text box or select one from the pop-up menu. The selectors (known as pseudo-class selectors) available from the pop-up menu are a:active, a:hover, a:link, and a:visited.The Style Definition dialog box appears.
For information on specific CSS style settings, see the following topics: