Div Mania

Gez Lemon explains how to avoid Div Mania -- overuse of div elements -- with the help of CSS 2.1 selectors.

Like Gez, I've seen plenty of sites that just replace the old table-tag-soup with myriads of div and span elements instead of using the semantically correct elements for the task. Not much better than hanging on to the old-school presentational markup.

Posted on June 3, 2005 in Quicklinks, CSS