George on March 19th, 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 be ID [...]

Continue reading about CSS: Use ID Selector or Classes?