how to simulate this in IE...

liunx

Guest
i've got this:
#nav li:hover>b.arrow2 {...}

but since IE dont understand the ">" selector its not working as i want.
how do i simulate this selector in IE? the child selector.

i need to get to b.arrow2 that is a child of li not a descendant !!!Actually, IE doesn't support 'li:hover' either...
If you're using something like whatever:hover (<!-- m --><a class="postlink" href="http://www.xs4all.nl/~peterned/csshover.html">http://www.xs4all.nl/~peterned/csshover.html</a><!-- m -->) then fair enough.

For the child selector thing, you'll have to write some more rules for whatver it is - I'm guessing "li:hover ul b.arrow2" or something like that.Three ways to simulate :hover in IE:
<!-- m --><a class="postlink" href="http://dean.edwards.name/IE7/">http://dean.edwards.name/IE7/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.htmldog.com/articles/suckerfish/">http://www.htmldog.com/articles/suckerfish/</a><!-- m -->
whatever:hover (<!-- m --><a class="postlink" href="http://www.xs4all.nl/~peterned/csshover.html">http://www.xs4all.nl/~peterned/csshover.html</a><!-- m -->)

Dean Edward's IE7 also adds support for the child selector.
 
Back
Top