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

HTML Multiclassing for CSS

From: Lenny Domnitser <ldrhcp87@yahoo.com>
Date: Wed, 7 Jan 2004 16:19:10 -0800 (PST)
Message-ID: <20040108001910.12935.qmail@web60507.mail.yahoo.com>
To: www-html@w3.org

(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:

<ul>
<li classes="nav-item"><a href="section1">Section
1</a></li>
<li classes="nav-item,active">Section 2</li>
</ul>

The only current way to dynamically add a style class
is to replace the existing one, but now a class can be appended.

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
Received on Wednesday, 7 January 2004 22:26:34 GMT

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