Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:44

IE relative positioning, submenu bug


Poster: safetybear
Dated: Friday May 13 2005 - 15:55:04 BST

I'm working on a vertical menu and having difficulty making it work across most browsers. Right now, it works in Mozilla, but in IE (and Opera) I get a bizarre offset and a lagging effect, where it doesn't react well to mousing-over.

I can imagine that this is a positioning problem...when I remove position="relative"; from the submenus, it operates fine...but I want the main menu to be positioned flexibly on the page. Any advice would be appreciated.

Thanks!
David

Nevermind. I fixed it.


Poster: safetybear
Dated: Friday May 13 2005 - 20:13:27 BST

So, the two vertical nav bars were in a DIV, which had a border applied to it. For SOME reason (I don't know why), the 20px height of the border was affecting the submenu position on IE and Opera only. Mozilla and Mac worked great. Took out the border style and it works like a charm. Go figure.

David

Re: IE relative positioning, submenu bug


Poster: kevin3442
Dated: Tuesday May 17 2005 - 1:18:56 BST

safetybear wrote:
...when I remove position="relative"; from the submenus, it operates fine...


Just a little note:

When you use relative positioning, you only specify position="relative"; in the main menu, not in the submenus. You normally won't need to set position in the submenus; they will take their position automatically from the position of the parent menu item.

Cheers,

Kevin