Previous Message
Next Message

joining classes

Sent by Paul Novitski on 18 July 2006 17:05


At 02:19 AM 7/18/2006, Micky Hulse wrote:
[EMAIL-REMOVED] wrote:
> > <div class="button" class="myclass>
>
><div class="classOne classTwo classThree">...</div>
>
>This page might help:
>
>*CSS-Discuss: Multiple Classes*
><http://css-discuss.incutio.com/?page=MultipleClasses>


Also, go to the source:

W3C CSS 2.1 Specification
5 Selectors
5.8.3 Class selectors
http://www.w3.org/TR/CSS21/selector.html#class-html

Note that the example of multiple class selectors given here:

         p.pastoral.marine { color: green }

does not work with Internet Explorer <=6 -- for IE you can only 
effectively reference one class at a time in your stylesheet, 
although IE does recognize multiple classes in the HTML.

Paul 

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: