Using compass blueprint;
Has anyone come across an issue in which placing a hover on an li
didn't work in IE6.
Using compass blueprint;
Has anyone come across an issue in which placing a hover on an li
didn't work in IE6.IE6 only supports :hover on <a> elements. You'll either need to use <a> tags, which may not be semantically correct, or you'll need to use javascript to add add a class like "hover" to your <li> when the cursor is over the element.
>
> What's strange is that I've been able to get the dropdown to work
> before in IE6 with the li hovers. In trying to pinpoint the
> difference in the code that could be changing the behavior of the
> li's, I've come to think it's probably something in Blueprint. I was
> hoping to overwrite a style that was causing the difference instead of
> implementing scripts…
If there is a case where it actually works, I would be interested to
see that, but I doubt it. It’s a known fact that hover only works on
<a> elements in IE6. Maybe you had some other script adding “hover”
classes or emulating that behaviour?
Andrew Vit
> the hover event displaying the dropdown menu is on the li.
>
> ul li ul{display:none}
> ul li:hover ul{display:block}
>
>> We have two projects that I've been able to get the li hover to work
>> with in IE6; however, I've yet to be able to narrow down why it works
>> in these two and not the new one in progress.
>>
>> A working example is the global nav at http://teufel.com/landscape
>> when you mouse over 'Teufel Landscape’.
I don’t know about you guys, but the layout on that page is broken for
me in IE6 and there are no dropdowns on hover. Are you sure you mean
IE6, not IE7?
Andrew Vit