Daily Archives: May 22, 2008

Web Design Best Practices, Overdoing your CSS

Over-Doing It
Tagitis
Tagitis is the adding of many useless XHTML tags. This header, for instance, suffers from tagitis:

<h3><em>Header</em></h3>

You don’t need the extra tag. One line of CSS would give the same effect:

h3 {
font-style: italic;
}

Classitis and Divitis
A common error of beginning CSS coders is to use far too many

div tags and [...]

Posted in Web Design Best Practices | Leave a comment