Menu Position - Please help

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
DaveCliff
Beginner
Beginner
Posts: 2
Joined: Tue Mar 21, 2006 12:56 pm

Menu Position - Please help

Post by DaveCliff »

Hi all,
I am having some difficulties with positioning the menu relative to the position of the actual page table. The site i am incorporating it into is centred and the menu appears in different positions depending on resolution used and window size. Can anyone tell me how to set the menu to a relative position so that it will always be in the correct position???
Thanks in advance.
Dave
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Post by vikenk »

Dave,

Are you placing your menu in a table? If so, make sure you implement it correctly as described here:

http://milonic.com/tablemenu.php

Make sure you set your menu to position:relative and you have no positioning variables (top=, left=, screenposition=).

If you implement it in the table correctly it should move with the flow of your page.

It's also best to provide a URL to the site in question or at least some code :>)
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi Dave,

Vikenk is correct, we really do need to see your page to tell you the best way to position it the way you want it. There are a number of way to do that, using absolute, keywords, or relative positioning. Below my name are links, one is for table placement, which is the relatively positioned menu.

Ruth
DaveCliff
Beginner
Beginner
Posts: 2
Joined: Tue Mar 21, 2006 12:56 pm

thank you

Post by DaveCliff »

thank you both for your replies......unfortunately for confidentiality reasons i couldnt divulge the link. However removing left and putting in relative position has fixed the problem. Thank you very much.
Post Reply