O'Reilly logo

HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition by Bruce Hyslop, Elizabeth Castro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Structuring Your Pages

The whole point of using CSS is to separate the formatting and styling rules from the content of your page. This makes your pages easier to maintain and gives them the flexibility to work well in different browsers, platforms, and devices, or even in print. Just as it does with styling text, CSS provides great variety in how you present the overall layout of your pages. You apply CSS to the content containers that represent a page’s primary structural elements, which you learned about in Chapter 3 Image (on the next page). With CSS, your masthead, main content area, sidebar (or two), page-level footer, and so on come to life visually. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required