W3C home > Mailing lists > Public > www-style@w3.org > December 2006

Re: Question about linking CSS to XML vocabularies

From: David Woolley <david@djwhome.demon.co.uk>
Date: Thu, 28 Dec 2006 20:10:22 +0000 (GMT)
Message-Id: <200612282010.kBSKAMh08372@djwhome.demon.co.uk>
To: www-style@w3.org

> should be included as well.  This would also serve to separate
> presentation-only attributes from any other attributes within the
> vocabulary, which I think would be a good thing.

id and class should not be used to encode presentation.  They
should be used to encode semantics and the style sheet should then
specify appropriate stylings for those semantics.  In particular
class="red" is a misuse of the class attribute in nearly every case.
Received on Thursday, 28 December 2006 20:10:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:48 GMT