Chapter 13. Creating Division-Based Layouts

Creating Division-Based Layouts

In this chapter you will learn to:

  • ✓ Create divisions.

  • ✓ Position divisions.

  • ✓ Format divisions.

Tables are the most popular tool for creating page layouts in HTML, but they are not the only option. As Web designers move increasingly toward separating style and content, division-based layouts are becoming more appealing.

A division-based layout defines the area of a page by using <div> tags, and then applies formatting to each area by using styles. One big advantage of division-based layout is that you can place the styles in an external style sheet, and then make style changes to many pages at once simply ...

Get HTML and XHTML Step by Step now with O’Reilly online learning.

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