
302 Tutorial: Formatting Your Page with CSS
Don’t forget to include a semicolon at the end of each line, after the
property values.
When you’re finished, the code should look like following example:
5.
Save the style sheet.
Next you’ll attach the style sheet to the index.html page.
Attach a style sheet
When you attach a style sheet to a web page, the rules defined in the style
sheet are applied to the corresponding elements on the page. For example,
when you attach the cafe_townsend.css style sheet to the index.html page,
all paragraph text (text formatted with the
<p>
tag in the HTML code) is
formatted according to the CSS rule you defined.
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.
000_ExploringStudio.book Page 302 Tuesday, August 30, 2005 9:30 AM
Summary of Contents for STUDIO 8-EXPLORING STUDIO 8
Page 1: ...Exploring Studio 8...
Page 8: ......
Page 42: ...42 Learning Studio...
Page 134: ...134 Web Development Workflow...
Page 136: ......
Page 162: ...162 Tutorial Creating Page Mock ups...
Page 182: ......
Page 194: ...194 Tutorial Handling Photographs...
Page 254: ...254 Tutorial Building Your First Flash Application...
Page 266: ...266 Tutorial Building a Video Player Flash Professional only...
Page 268: ......
Page 294: ...294 Tutorial Adding Content to Pages...
Page 324: ...324 Tutorial Formatting Your Page with CSS...
Page 332: ...332 Tutorial Publishing Your Site...
Page 342: ...342 Tutorial Setting Up Your Website for Contribute Users...
Page 350: ...350 Index...