O'Reilly logo

Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day: Includes New HTML5 Coverage, Sixth Edition by Rafe Colburn, Laura Lemay

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

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

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