Thank you for the confirmation. In the end I worked around the problem by contextualizing one set of buttons within a div with a specific ID, and including that ID on the selectors for those buttons. I believe this is essentially what you suggest.
Tim > -----Original Message----- > From: David Hucklesby [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 08, 2007 8:04 PM > To: Tim Sheiner; css-d@lists.css-discuss.org > Subject: Re: [css-d] IE6 inheritance issue > > > On Mon, 7 May 2007 11:45:50 -0700, Tim Sheiner wrote: > > I'm having trouble with, I think, an inheritance issue with IE6. > > > > In the following html, I create buttons out of two spans, > style them differently and > > use a script to activate them. > > > > Firefox agrees with me that the buttons should have > different .up, .over, and .down > > styles, but IE6 does not. It seems to be applying only the > last styles listed to both > > buttons. > > > > Can anyone explain how to get IE to "see" the differences > in the span classnames? > > > Hi Tim, > > You have this in your code (edited) : > > > > > .type2.up > > { > > color: rgb(0,0,0); > > background-color: rgb(255,255,255); > > border-color:rgb(255,255,255); > > } > > > > .type2.over > > { > > color: rgb(0,0,0); > > background-color: rgb(255,255,255); > > [...] > > } > > > > .type2.down > > { > > color: rgb(0,0,0); > > background-color: rgb(230,230,230); > > [...] > > } > > > As you noticed, IE has trouble with selectors that combine classes. > You are correct - IE only applies the last class. > > The only solution I can think of is add a third, unique class name > to the elements that already have class="type2 up" etc. IE at least > recognizes all the class names within a class attribute in the HTML. > > It's a feature. Don't know if it is fixed in IE7 ? > > Cordially, > David > -- > > > ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- 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/