Chapter 5

Tables and Lists

Something that often seems to confuse people who are new to CSS-based layouts is the use of tables. To date, most website designers have abandoned the use of tables as a tool for creating page layouts and have returned websites to playing the role for which they were designed: to present information clearly and efficiently. The result is much cleaner HTML, enabling the separation of document content from document presentation.

If you do a little search on the Internet, you’ll find plenty of cases where people interpret the advice against using tables for layout to mean “Don’t use them at all.” Tables are still perfectly ...

Get CSS3 Solutions: Essential Techniques for CSS3 Developers 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.