Sent by Jeff Chastain on 28 April 2006 04:04
IE is processing the sublevel rule, it just does not clear the background
image that is inherited. I have tried both background: none; and
background-image: none;. The transparent image has been suggested and while
it sounds awful, that may be the only solution.
Thanks.
-----Original Message-----
From: francky [EMAIL-REMOVED]]
Sent: Thursday, April 27, 2006 10:34 PM
To: Jeff Chastain
Cc: [EMAIL-REMOVED]
Subject: Re: [css-d] Remove inherited background image?
Jeff Chastain wrote:
>I have a multi-level list in which the top level list item has a
>background image applied. The background image is being inherited by
>all of the list items as expected, but I am trying to disable it for all of
the sub levels.
>I tried a 'background-image: none' which seems to work for FireFox, but
>not IE of course. Is there a way to do this?
>
><ul id="list">
> <li> <-- apply background image here
> <ul>
> <li> <!--- but not here
>
>#list li { background: url('test.gif'); } #list li li { background:
>none; }
>
>Thanks.
>
>
If no better solution is coming, maybe you can set it to
#list li li { background: url('transparent1x1.gif'); }
Or does IE not react at all in the sublevel-backgrounds?
Greetings,
francky
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/