.navigation {
}
This is an empty rule.
The code in the file should look something like the following example:
Next youll use the CSS Styles panel to add properties to the rule.
TIP |
|
For more information about any CSS property, check the OReilly reference guide included with Dreamweaver. To display the guide, select Help > Reference and select OReilly CSS Reference from the pop-up menu in the Reference panel. |
Now youll 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 youve 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, youll 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).
Youve now created a rule to format the navigation bar text. Next youll apply the rule to the selected links.