Ce Ce wrote:

> I have a sprite issue in IE6. I've posted it at 
> http://veriepe.com/test/ It works in Safari, Firefox, IE7, but in IE6
>  the class background position is ignored on the middle and right 
> link. It's only picked up on the on the left link.

IE6 can't handle combined selectors, so this...
#bar-updates.friends {
        background-position: 0 -57px;
}
...with an ID+class combination fails.

The following...
.friends {
        background-position: 0 -57px!important;
}
...will work, but if you want to avoid the '!important' for added
specificity to override the ID defaults, you'll have to avoid using
the ID on the ul. Set the default-styles on the plain ul instead so the
class can override them.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
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/

Reply via email to