Lesson 13. Advanced CSS: Page Layout in CSS

One of the major draws of modern CSS is the freedom to replace clunky HTML with structured HTML markup, styled by CSS rules. In Lesson 8, “Using CSS to Style a Site,” you learned how to place individual portions of your web page in specific locations using absolute positioning or floating content. You can use the same types of style rules to build the visual structure of the page.

In this lesson, you’ll learn about the following:

• The different strategies for laying out a page in CSS

• Why it’s a bad idea to use <table> for page layout

• The steps to replacing a table-based layout with a CSS-based structure

• How to write HTML code for CSS-based layouts

• How to use positioned content to lay out a ...

Get Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day: Includes New HTML5 Coverage, Sixth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.