Well, I’ve been browsing around 456 Berea Street, and came across this article: “Bring On The Tables:”
Something that often seems to confuse people that are new to CSS-based layouts is the use of tables. I’ve seen plenty of cases where people interpret “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.
Yes, do your best to avoid using tables for layout, but for tabular data, tables are what you should use. I’d like to talk about how tables should be used when marking up tabular data. There’s a lot more to tables in HTML and XHTML than just rows and cells. Much more. Especially if you want to make them accessible.
Take a look at this article, and learn how to use HTML tables, the correct and accessible way, as well as learn the cons of a table-based layout. A very interesting read.
Table Example
|
Employees |
Founded |
| Men |
Women |
| ACME Inc |
700 |
300 |
1947 |
| XYZ Corp |
1200 |
800 |
1973 |