sub menus are offset even when _suboffsetleft = 0 [SOLVED]

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
nwilcox
Mega Advanced
Mega Advanced
Posts: 269
Joined: Sat Aug 20, 2005 6:14 am
Location: Indianapolis, IN
Contact:

sub menus are offset even when _suboffsetleft = 0 [SOLVED]

Post by nwilcox »

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!
User avatar
nwilcox
Mega Advanced
Mega Advanced
Posts: 269
Joined: Sat Aug 20, 2005 6:14 am
Location: Indianapolis, IN
Contact:

Post by nwilcox »

posted deleted --- duplicate
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
User avatar
nwilcox
Mega Advanced
Mega Advanced
Posts: 269
Joined: Sat Aug 20, 2005 6:14 am
Location: Indianapolis, IN
Contact:

Post by nwilcox »

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!!
Post Reply