Macromedia dreamweaver 8-using dreamweaver User Manual

Page of 1030
398
Chapter 13:  Inserting and Formatting Text
To define the formatting for a particular combination of tags or for all tags that 
contain a specific 
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
.
3.
Select the location in which the style will be defined: 
To create an external style sheet, select New Style Sheet File.
To embed the style in the current document, select This Document Only.
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 in Using Dreamweaver:
Defining CSS type properties
Defining CSS style background properties
Defining CSS style block properties
Defining CSS style box properties
Defining CSS style border properties
Defining CSS style list properties
Defining CSS style positioning properties
Defining CSS style extension properties
Related topics
Applying a class style
Class styles are the only type of CSS style that can be applied to any text in a document, 
regardless of which tags control the text. All class styles associated with the current document 
are displayed in the CSS Styles panel (with a period [.] preceding their name) and in the Style 
pop-up menu of the text Property inspector.