It’s been said many times that CSS is great for markup (vs. layout). This brings up a good point about going overboard with CSS. And I’ve done it many times…
You have a certain design in your head and start applying new divs, spans, and class to fit that look. Although CSS is capable of doing lots of neat stuff, adding new tags or classes can quickly nullify the efficiencies of CSS.
Minimize the number of custom classes by sticking with standard HTML tags. It’s not only good practice, but you also can quickly stay compatible with screen readers and cell phones. You will also provide nice structured content for SEO and non-CSS capable browsers.
Leave a comment