|
Posted by rf on 10/03/26 12:01
"Vik Rubenfeld" <vikr@mindspring.com.invalid> wrote in message
news:vikr-4D128A.09155727012008@earthlink.vsrv-sjc.supernews.net...
> "rf" <rf@invalid.com> wrote:
>
>> Because you have told it to. I think.
>>
>> li:hover works in modern browsers. It does not work in IE.
>>
>> That is one nasty peice of CSS. You should delete it and then gradually
>> add
>> rules and property/values back *as you understand what they are there
>> for*.
[snippage excuses for CSS other than to say:]
A high page ranking does not imply high quality code. Look at google.com.
> Why is the rollover image being displayed when class="current_page"?
<sigh> Did you not read my post. I answered this. Here, I'll repeat it:
Because you have told it to. I think.
li:hover works in modern browsers. It does not work in IE.
You have a rule
#pmenu li.hover {...}
That rule is causing the background to move on hover for *every* list item.
All of them. Even the 'current' one.
The reason this does not happen with IE6 is that IE6, being a broken
browser, does not support hover on anything other than links.
Now, the reason I include the phrase "I think" is that I never actually
tested this in IE6. I just used firebug to remove the above rule and noticed
that things worked with firefox.
BTW '#pmenu li.current_page hover' is never going to work. You are missing a
:
--
Richard.
Navigation:
[Reply to this message]
|