Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Use efficient CSS selectors


Fotiman - 1:38 am on Dec 12, 2009 (gmt 0)



you can have a "pad" class which

Ah, see, now this I strongly disagree with. Using classes that describe presentation vs. classes that describe the content. Yes, you COULD do this, but it means that changes to your presentation might require to you to modify both your CSS AND your HTML, which defeats some of the advantages of CSS. I avoid classes like "pad", "red", "left", etc., as those are definitely NOT good practices. I think that's slightly off topic, though.

Yes, I agree with you, that using semantic elements as in your example demonstrate better design, despite any warnings you might get from the Google tool.


Thread source:: http://www.webmasterworld.com/css/4039425.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com