HTML Multiclassing for CSS

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