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]

Re: HTML Multiclassing for CSS

From: Lenny Domnitser <ldrhcp87@yahoo.com>
Date: Thu, 8 Jan 2004 14:02:19 -0800 (PST)
Message-ID: <20040108220219.14595.qmail@web60508.mail.yahoo.com>
To: www-html@w3.org

> It already does, although it is broken in some
earlier
> browsers, and some common authoring tools also
generate multiple
> classes as though they were one class with a name
containing
> spaces.

Thanks for the help and sorry for the useless request.
;-)

> If you are really complaining about the W3C DOM not
allowing easy 
> manipulation of this construct, you are on the wrong
mailing
> list.  Also note that classes are not specific to
CSS (and CSS has
> its own list); a document can enhance its semantics
with classes without
> any author provided style sheet or DOM manipulation.

The DOM is fine; I was just unaware that the class
property was a list.
"Class" as opposed to "classes" certainly sounds
singular, and I haven't seen
multiclassing in practice.

> > <li classes="nav-item,active">Section 2</li>

> This should be (assuming "-" is allowed, which I
haven't checked):

The hyphen is allowed, although the commonly-used
underscore is not.

Thanks to all who responded. The question that remains
is, how wide is support
for "class" as a list? It works for me on Mozilla 1.5,
Opera 7, IE 6/Win, but
do any of the browsers that aren't completely out of
circulation yet (earlier
IEs and Netscapes) support this?

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus 
Received on Thursday, 8 January 2004 17:02:19 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.