I’m offended by your antisemantic views

Posted by Brian Schroer on Geeks with Blogs See other posts from Geeks with Blogs or by Brian Schroer
Published on Tue, 15 Jun 2010 19:09:55 GMT Indexed on 2010/06/16 2:23 UTC
Read the original article Hit count: 310

Filed under:

CSS class names should usually be “semantic” (describing the meaning of the styled areas, e.g. “article-title”, “author-info”, “errror-message”, not “structural” (e.g. “left-side-navbar”, “small-title”).

…and they definitely shouldn’t explicitly describe the styling. I’ve seen a class names like “bold-red-12pt”. If you’re going to do that, you might as well just use inline font tags.

This article explains it much better than I can…

© Geeks with Blogs or respective owner