> Tom Livingston

> I disagree. <span style="color:#f00;">some_text</span> is puttiing  
> presentation in the markup. class="red" is still a class that can be  
> changes in the sheet. In my mind, the word red in this case 
> is just a word, not a color.

It's just a word, but it does have presentational associations. Sure,
to a machine it doesn't make a difference, and it's not breaking any
"technical" standards, but it makes maintenance and generally working
with pages highly confusing. Same for classnames such as "left"/"right"
or "bigbrownbox".

See also:

http://www.w3.org/QA/Tips/goodclassnames

Patrick
__________________________________________________________
Patrick H. Lauke
Webmaster / University of Salford
http://www.salford.ac.uk
__________________________________________________________
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
__________________________________________________________
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to