Page Layout Tables

CSS, divs, and stacked tables for web pages

Page 2 of 6 12 Current3456

General Rules

To do layout tables right, a few general rules should be observed, because it’s too easy to make an unwieldy mess with them. But it’s even easier to do it right, as we’ll soon see.

The bottom line is that tables are fine for layouts, if they are CSS’d properly and are stacked, not nested. But what about complex layouts? Nesting of tables, divs, or both, beyond two levels is just too complex. Why do some people think a layout has to be so complex? What’s wrong with a header, two or three columns, and a footer? Sure, some sites are complex, but the necessary complexity is in the scripting, not the basic page skeleton, which is what we’re dealing with here.

Next, we’ll look under the hood of a stacked layout example.

Continued...

Page 2 of 6 12 Current3456

— KV5R is disabled. Please help. —

Valid HTML 5 Valid CSS WCAG 1 conformance Handmade with Ultra Edit Studio Xara Xtreme