Hi,

I tried that but it only changes the background for the length of the text
of the <a> tag. I tried display:block. Am I missing something?

Regards,
Sohail

On Thu, Jul 10, 2008 at 5:23 PM, Adam Ducker <[EMAIL PROTECTED]> wrote:

> Sohail Aboobaker wrote:
>
>> Hi,
>>
>> It must a really newbie question but is li:hover doesn't behave correctly
>> in
>> IE. The following in the stylesheet does not change the background color
>> in
>> IE where it works fine with firefox.
>>
>>  #secnavul li.hover {
>>     background-color:#B5761C;
>>   text-decoration: none;
>>  }
>>
>> The color doesn't change in IE. Same style when applied to "  #secnavul li
>> a:hover" seems to work fine in IE and Firefox.
>>
>> Is there a workaround?
>>
>> Also, background images with .png are not supported in IE6. Is this true?
>>
>> Regards,
>> Sohail Aboobaker.
>> ______________________________________________________________________
>> 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/
>>
>>
>>
>>
> Sohail:
>
> IE 6 only supports :hover for A tags.  It should be an easy workaround to
> simply put an A tag inside the LI and apply your styles that way.  Maybe
> other readers can come up with a quick example.
>
> -Adam Ducker
>
______________________________________________________________________
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