.navigation {
}
This is an empty rule.
The code in the file should look something like the following example:
Next you'll use the CSS Styles panel to add properties to the rule.
|
TIP |
|
For more information about any CSS property, check the O'Reilly reference guide included with Dreamweaver. To display the guide, select Help > Reference and select O'Reilly CSS Reference from the pop-up menu in the Reference panel. |
Now you'll use the CSS Styles panel to add a few more properties to the .navigation rule.
List view reorganizes the Properties pane to display an alphabetical list of all available properties (in contrast to Set Properties view, the previous view, which shows only those properties you've already set).
background-color property.
To see the full wording of a property, hold the mouse over the property.
|
TIP |
|
To see how your work affects the external style sheet, keep the cafe_townsend.css file open in the Document window while you work. When you make a selection in the CSS Styles panel, you'll see that Dreamweaver writes the CSS code in the style sheet at the same time. |
display property (you might need to scroll down), click once in the column to the right, and select block from the pop-up menu.
padding property, click once in the column to the right, enter 8px as the value, and press Enter (Windows) or Return (Macintosh).
width property, click once in the column to the right, enter 140 in the first text box, select pixels from the pop-up menu, and press Enter (Windows) or Return (Macintosh).
You've now created a rule to format the navigation bar text. Next you'll apply the rule to the selected links.
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/dreamweaver/8/using/gs_06_11.htm
Comments
No screen name said on Jan 1, 2006 at 1:18 PM :