Many developers interpret the W3C’s guidelines to “avoid using tables for layout” as “don’t use tables at all”. It’s important to remember that tables are still perfectly fine to use – if used correctly.
The W3C states that tables should only be used for the presentation of tabular data – more specifically, it states that:
- “Tables should not be used purely as a means to layout document content as this may present problems when rendering to non-visual media. Additionally, when used with graphics, these tables may force users to scroll horizontally to view a table designed on a system with a larger display. To minimize these problems, authors should use style sheets to control layout rather than tables.”
Well, there you have it!
This site, which displays no tabular data, consequently uses no tables – woohoo!! The layout is achieved purely through style sheets – look Mum, no tables!