Forum Moderators: not2easy

Message Too Old, No Replies

hover menu working in FF not in IE

         

GeddyLeeRocks

4:19 pm on Oct 8, 2007 (gmt 0)

10+ Year Member



Hello

On a site that I have created.. my client at the last minute wanted a hover menu item for a menu title -

<snip> - the only hover is for "About us and our office" only

the style sheet is here: /css/style/default.css and I believe the style for the menu is "nav"

any ideas why this is happening?

Thanks in advance

Rob

[edited by: engine at 5:25 pm (utc) on Oct. 8, 2007]
[edit reason] Please post code, not urls, thanks. [/edit]

penders

4:57 pm on Oct 8, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



IE only supports the :hover pseudo class on A elements. Having had a quick glance you are applying the :hover class to an LI element which is fine for FF, but for IE you need to use JavaScript to apply an additional class (sfHover - as you have defined in your CSS) from the onmouseover event.

Are you calling this JavaScript?