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]

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
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.