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 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.