HOUR 11. Formatting Web Pages with Cascading Style Sheets

WHAT YOU’LL LEARN IN THIS HOUR:

• How to create each of the four style types: classes, IDs, redefined HTML tags, and compound styles

• How to apply styles to elements in a web page

• How to create an external style sheet for an entire website

• How styles deal with conflicting and inherited properties

The Cascading Style Sheets (CSS) standard enables you to apply a visual property or group of visual properties to an object by applying a style to that object. You define and apply styles in Dreamweaver’s CSS Styles panel or in the Page Properties dialog box, or by making settings (such as a font choice) in the CSS portion of the Inspector panel, as you did in Hour 4, “Adding Text ...

Get Sams Teach Yourself Dreamweaver CS5 in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.