Mapping Out Your Page

Before you create a complicated table, it’s really important to have a vision of what you’re about to construct. You should know how many rows and columns you need, how big these should be, and where each of the items on your page should go.

To map out your page:

1.
Design your page on a piece of paper—with a pen!
2.
Figure out how many rows and columns you will need. Identify any rows or columns that will span more than one space.
3.
If necessary, you can nest one table inside another. However, you should keep nesting to a minimum as it tends to slow browsers down—and sometimes causes them to break down altogether.
4.
If you’re going to make a static, fixed design, measure how wide your table should be (the standard is ...

Get HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide 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.