On 4 May 2008, at 12:47, Stuart Foulstone wrote:

CSS classes are for presentation.

There is no such thing as a "CSS class". CSS is for presentation. HTML has classes. CSS selectors can match against HTML classes.

Content is content.

True

Centering content is presentation.

True

Class names should not use keywords such as "center".

The specification does not forbid this. Keywords are context sensitive. It is generally good coding style to avoid it as it reduces confusion, but good coding style also suggests that HTML class names focus on the WHY not the WHAT - i.e. the reason for the presentation, not what the presentation is.

--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to