Apply a class style to text 113
7.
Click OK.
8.
Click All at the top of the CSS Styles panel.
9.
Click the plus (+) button next to the cafe_townsend.css category if the
category isn’t already expanded.
You’ll see that Dreamweaver added the .bold class style to the list of
rules defined in the external style sheet. If you click the .bold rule in the
All Rules pane, the rule’s properties appear in the Properties pane. The
new rule also appears in the Style pop-up menu in the Property
inspector.
Apply a class style to text
Now that you’ve created a class rule, you’ll apply it to some paragraph text.
1.
In the Document window, select the first four words of text in the first
paragraph: Cafe Townsend’s visionary chef.
2.
In the Property inspector (Window > Properties), select bold from the
Styles pop-up menu.
The bold class style is applied to your text.
TI
P
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.
Summary of Contents for DREAMWEAVER 8-GETTING STARTED WITH...
Page 1: ...Getting Started with Dreamweaver...
Page 8: ...8 Contents...
Page 10: ......
Page 46: ...46 Dreamweaver Basics...
Page 48: ......
Page 128: ...128 Tutorial Formatting Your Page with CSS...
Page 136: ...136 Tutorial Publishing Your Site...
Page 138: ......
Page 189: ...Add a Repeat Region XSLT object 189 3 Select Insert XSLT Objects Repeat Region...
Page 196: ...196 Tutorial Displaying XML Data...
Page 216: ......
Page 230: ...230 Understanding Web Applications...
Page 236: ...236 Installing a Web Server...
Page 254: ...254 Setup for Sample ColdFusion Site...
Page 268: ...268 Setup for Sample ASP NET Site...
Page 284: ...284 Setup for Sample ASP Site...
Page 300: ...300 Setup for Sample JSP Site...
Page 320: ...320 Setup for Sample PHP Site...