W3C home > Mailing lists > Public > www-html@w3.org > January 2004

RE: HTML Multiclassing for CSS

From: Lindsay Evans <lindsay@redsquare.com.au>
Date: Thu, 8 Jan 2004 14:38:33 +1100
To: <www-html@w3.org>
Message-ID: <NKENJPNEAEBDHKJIJLOJEEDELJAA.lindsay@redsquare.com.au>

www-html-request@w3.org wrote:
> (X)HTML should have support for multiclassing, which
> 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:

<snip/>

I believe this is already part of the recommendation:

"class = cdata-list [CS]
   This attribute assigns a class name or set of class names to an element.
Any number of elements may be assigned the same class name or names.
Multiple class names must be separated by white space characters."
http://www.w3.org/TR/html4/struct/global.html#adef-class

Unless I'm misunderstanding your post.

--
 Lindsay Evans.
 Developer,
 Red Square Productions.

 [p] 8596.4000
 [f] 8596.4001
 [w] www.redsquare.com.au
Received on Wednesday, 7 January 2004 22:44:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:59 GMT