Bruno Fassino wrote:
> Steve Clason wrote:
> 
>> Although IE7 does support the :hover pseudoclass on elements other than
>>   <a>, making Suckerfish-type navigation work without JavaScript, you
>> have to be careful to trigger "hasLayout" in both the element and the
>> element  pseudoclass, and you have to use two different triggers,
>> apparently.
>>
>> There's a test case at http://www.bch.org/ie7HoverTest.html.
> 
> Thanks for sharing this, it's really weird.
> Just a small comment: I wouldn't say that IE needs a further hasLayout
> trigger, but rather that it needs at least one extra property (on the target
> "li:hover ul"), choosen among a certain set.
> To be more precise, I tried adding in your example either
> "background-position: 0 0" or "border-width: 0" to "#nav3 li:hover ul" and
> both of them solved the problem, like your "min-height: 1px".
> This behaviour is somewhat similar (but even more confusing), to the well
> known need for some extra property on any "a:hover", to have IE to pay
> attention to "a:hover descendant".

Well, sure enough, look at that. I added a version with "border-width: 
0" to the test case and (of course) it works just as you describe. Thank 
you Bruno--I hadn't heard of IE's need for that extra property--I guess 
I wasn't paying attention that day. I appreciate your comment immensely.

-- 
Steve Clason
Web Design & Development
Boulder, Colorado, USA
www.topdogstrategy.com
(303)818-8590

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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/

Reply via email to