Archive for March, 2008

CSS: Use ID Selector or Classes?

March 19, 2008

When should you use an ID Selector or a class in CSS? There are many of answers, some more technical than others, but here’s a fast and dirty answer. Use an ID selector when it will be used only once on the page. For example, DIVs for header, body and footer are just begging to [...]

Posted in Web Design 2 Comments »