On 9/28/07, Seth Green wrote: > > As you will see if you load the page below... In IE6 the div remains > > red, even though it is explicitly set to green in the last rule. > > > > It seems that the middle rule, which targets a non-existant class is > > causing the problem. Remove that, and the div is green, even in IE6. > > > > Has anyone ever experienced this issue? Is there a workaround?
IE has problems with selectors like #id.class, in short when it founds one not matching, it doesn't look further, ignoring matching ones (sort of.) See [1], [2] for examples of places where this has been discussed. Bruno [1] http://archivist.incutio.com/viewlist/css-discuss/60191 [2] http://www.quirksmode.org/bugreports/archives/2006/04/CSS_Bug_in_MSIE_6_Selector_with_an_ID_and_a_Class_.html -- Bruno Fassino http://www.brunildo.org/test ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/