Keith Bloom schrieb:
Hi,
Can someone let me know if I am going mad or not.
IEwin has some (cough) problems with #id.class combinations.
#content #article.slim {
background:blue;
...
}
#content #article.aus {
background:red;
...
}
this
<div id="article" class="aus">...</div>
shows no red, because
the parser (or whatever is sitting infront of the other bugs) reads and
matches #content, matches #article and fails on .slim
well, so we think #article is unique? and it failed? why looking once
again at it?
http://css-discuss.incutio.com/?page=MultipleClasses
in conclusion, you can define
<div id="article" class="aus a1 b2 c3">...</div>
and so on, and it will work, as long as you don't combine them in one
rule like
#article b2
or
.a1 .b2
because that breaks any specifity and will match any occurence of .b2
and so on
Ingo
--
http://www.satzansatz.de/css.html
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/