I have a class called ".spr" (for image sprite) and many classes that change the width, height and background-position attributes to display the different parts of the sprite.
I also have .on classes for switching between images appearing in the on or off state.
The problem is that in IE the βonβ class, which must be associated with a particular class, is applied to a button that does not have a corresponding class (but another).
Screenshot:

CSS:
.spr.burst.been {background-position: -241px -89px; .spr.burst.on { background-position: -301px -89px !important; } .spr.radiobutton {background-position: -250px -249px; } .spr.radiobutton.on { background-position: -250px -218px; border: 3px dashed red; }
As you can see, IE9 interprets the class
.spr.radiobutton.on
a
.spr.on
and since it comes later in the stylesheet, it overrides the properties
.spr.burst.on
though
.spr.burst
doesn't have a class
.radiobutton
How to apply these composite styles in IE?
source share