Parent element for positioning-

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
foodle
Beginner
Beginner
Posts: 1
Joined: Mon Mar 15, 2010 2:20 am

Parent element for positioning-

Post by foodle »

Hi-
I've been hacking away at this all day and can't seem to make it work. I have a site that is centered with a <div align="center"> and the rest
of the content is tabled out. The milonic menu is in there - working fine, no prob. The sub menu drop downs seem to be positioning using the
viewport as its parent rather than the container table (or div when I add one). I need to place those sub menus to the pixel as they were not
designed to display aligned with the bottom left of the nav item.

If the interface is dynamically centered and the user changes the window size, the sub menus lose their correct positions as they are calculated
by the distance by the left hand side of the browser. I'd like to calculate the positions from the left side of the container table.

Any help / direction is greatly appreciated!

Thanks.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Parent element for positioning-

Post by Andy »

Hi,

Does this post help? viewtopic.php?f=10&t=8777
Post Reply