When I test in IE7, the menu jitters on first mouseover and changes position slightly. Also, when hovering over a menu item that contains a submenu, the menu jitters again. I think both issues have to do with IE7 hasLayout but I’m not sure.
Is there a way to ensure hasLayout in the css for IE7 on my menu and sub-menu tags? Or, are there text nodes being inserted somehow in IE7? Thank you for your help.
Indeed you are right. Seems it was a hasLayout issue with IE7.
I changed a CSS properties.
The sub-menu renders a few pixels higher that the modern browsers, but the -26px on .subnav can be adjusted with a IE7 stylesheet. I think it’s close to margin-top: -10px for IE7. Hope this works out.
http://jsfiddle.net/marioluevanos/VAuYx/11/