Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: HTML Multiclassing for CSS

From: David Woolley <david@djwhome.demon.co.uk>
Date: Thu, 8 Jan 2004 07:55:26 +0000 (GMT)
Message-Id: <200401080755.i087tQT04413@djwhome.demon.co.uk>
To: www-html@w3.org

> (X)HTML should have support for multiclassing, which

It already does, although it is broken in some earlier
browsers, and some common authoring tools also generate multiple
classes as though they were one class with a name containing
spaces.

> can deflate code size. It is especially useful when
> dynamically changing style through the DOM (i.e. with
> JavaScript.) A sample markup snippet would be:

If you are really complaining about the W3C DOM not allowing easy 
manipulation of this construct, you are on the wrong mailing
list.  Also note that classes are not specific to CSS (and CSS has
its own list); a document can enhance its semantics with classes without
any author provided style sheet or DOM manipulation.

> <li classes="nav-item,active">Section 2</li>

This should be (assuming "-" is allowed, which I haven't checked):

] <li class="nav-item active">Section 2</li>
Received on Thursday, 8 January 2004 02:55:29 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.