![]() |
|
![]() |
||
![]() |
![]() |
|
[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/signingbonusReceived on Wednesday, 7 January 2004 22:26:34 GMT |
|
||||||||||||||||