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:42
sub menus are offset even when _suboffsetleft = 0 [SOLVED]
Poster: nwilcox
Dated: Monday February 5 2007 - 17:15:06 GMT
http://clients2.serverside.net/helmer/
The submenus are popping -2px to the left of the button on each submenu. This is happening in Firefox and IE. The only browser working correctly is Opera (which is weird )
The menu is made of three images with a separater defined in the menu style as a 2px and colored white
So it appears the menus are popping off of the separator and not the image.
I've set the global _suboffsetleft _suboffsettop both to zero to no effect.
thanks for any assistance on this!
Poster: Ruth
Dated: Monday February 5 2007 - 19:53:10 GMT
Hi,
I have no idea what's causing that shift. I can't find it. I think it's probably a combination of things and I haven't hit the right combination of css and menu property yet. Anyway, 1st get the newest version, 5.770 is out
I don't think that will fix it, but as to the offset, that is a horizontal menu, you cannot set offsets for the subs in the global area of a horizontal menu, you have to set it in the menus, i.e. left="offset=2"; or whatever you need.
Hope that helps.
Ruth
Poster: nwilcox
Dated: Monday February 5 2007 - 20:25:26 GMT
Hi Ruth,
low and behold it was an absolute positioning issue! Opera was the only browser to render to true CSS specifications while IE and Firefox barfed.
Once I altered the CSS and rebuilt the div the menu was in, everything turned out fine.
thanks and case closed!!