I'm just wondering how well is the multi-class feature (i.e.
class=style1 style2 style3) supported in various browsers.
Also, is there any significant difference between browsers in
terms of how the order of class names affects the
specificity/style precedence?
Actually, IE has
The wiki doesn't say there is any issue with class=one two three in IE. I
use that extensively and haven't seen any problems with any browsers as far
back as IE 5.0. The problem is when you try to use a CSS selector like
.one.two {}, which doesn't work at all in IE. But you can certainly use
Actually, IE has issues with multiple selectors. Not that it
doesn't work, just that there are caveats (that have bitten
me several times).
Refer to the wiki for details:
http://css-discuss.incutio.com/?page=MultipleClasses
The wiki doesn't say there is any issue with class=one two
Hi,
I'm just wondering how well is the multi-class feature (i.e. class=style1
style2 style3) supported in various browsers. Also, is there any significant
difference between browsers in terms of how the order of class names affects
the specificity/style precedence?
Thanks for any advice or
all modern browsers supports them quite well I guess. I've never had
problems with multiple class names before. used it all the time ;) and
specificity is very much depends on the order of classes within the
style sheet file, not the ones in the html. so I guess the answer is no.
cmiiw
-
Sunday, June 18, 2006, 6:17:21 AM, Rizky wrote:
R all modern browsers supports them quite well I guess. I've never had
R problems with multiple class names before. used it all the time ;) and
R specificity is very much depends on the order of classes within the
R style sheet file, not the ones