Previous Message
Next Message

IE Bug - New to me.

Sent by Ingo Chao on 21 November 2005 11:11


Phil Baines wrote:
  > I have this CSS:
>  
>           #imageBanner.bakery{
>                    background: #0066FF
> /*url(images/graphics/bannerBakery.jpg) no-repeat*/;
>           }        
...
>           #imageBanner.dairy{
>                    background: #CC0099
> /*url(images/graphics/bannerdairy.jpg) no-repeat*/;
> }
>  
> And I have four separate pages, each with a DIV that matches the above
> selectors. Now for some reason only the first of these classes’ works
> (#imageBanner.bakery). If I move one of the others to the top it will start
> working, but all the others remain not working. 
>...
>  
> I have tried using a class type instead of the ID (class=”imageBanner
> bakery” istead of id=”imageBanner”) but I want to avoid the IE bugs that get
> triggered with two or more hooks being used in the class attribute.


but id.class is buggy too in IE6

http://archivist.incutio.com/viewlist/css-discuss/65843
http://sonspring.com/journal/ie6-multi-class-bug

Ingo
-- 
http://www.satzansatz.de/css.html
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Possibly related: