This question was asked here but the issue wasn’t resolved.
Please see this jsfiddle on IE6 : http://jsfiddle.net/RnsxM/2/
Basically a sprite image (not png fixed) won’t update correctly in IE6. The class seems to be applied (and works without javascript) but the combinaison removeAttr + addClass seems broken.
I tried :
!importantcss statement- use of
background-position-xorbackground-position-y
Does someone know a workaround ?
Not to do with scripting, this is a simple CSS brokenness. Something in IE6’s selector engine can’t cope with the idea of there being two
#id.classrules with the same#idon a single stylesheet. This shorter example demonstrates:You can avoid it by putting the IDs and classes on different elements, or just breaking the stylesheet up into two: