Tables aren't evil...

Skeptic: Dan, Dan, Dan... I see tables on this page, but your logo at the top says "sans tables." What's up wit dat?
Dan: Skeptic, skeptic, skeptic... "sans tables" means that I'm not using tables for layout purposes. I'm not using shims and  's to hold table cells open.
Skeptic: But aren't tables evil, shouldn't you be using CSS instead of tables?
Dan: There's where you're wrong. In fact, in CSS2, there are numerous styles just for dealing with tables and their styling. Look at the style sheet on the blog, and you'll see a style like "border-collapse: collapse". This is a style just for tables. In fact, there is absolutely no formatting information on the table tags in my posted schedule. All colors and borders are done with CSS. Use tables to your heart's content, so long as it's for tabular data, such as the DEVCON schedule below. Tables aren't evil, they just need to be used in the right context.
Skeptic: Ahhh... now I feel better...

Posted by Daniel Short on Jul 10, 2002 at 12:00 AM | Categories: (X)HTML - CSS -

Comments