menu and <DIV>

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
svend
Beginner
Beginner
Posts: 1
Joined: Tue Oct 30, 2007 4:52 pm

menu and <DIV>

Post by svend »

Hi ,

my page is only 1280 wide, so if a user is using a 1600 resolution, the content will be centralised. If I add the menu to the page , it will always start from upper left corner. I then need to place the menu inside a <DIV ID="CONTENT"> . I have tried inserting the menu right after the <DIV>, but it still starts the position from the upper left corner. I need it to start inside a "frame" / "BOX" where my webpage is.

Please help.



Thanks.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: menu and <DIV>

Post by Ruth »

Hi,

Having the page to actually see what you're trying to do would help. But, you can position the menu relatively in a table or div using the information here

http://support.milonic.com/beginners/ta ... /index.htm

and below which has a couple more links to more info.

viewtopic.php?f=10&t=8777

The reason I asked for a page is that say you just wanted it at the top but to always be centered, you could just use screenposition="center"; Or let's say the layout is such you want it centered but then offset a little bit back toward the left, you'd use the screenposition="center"; left="offset=-50"; So, the table/div relative positioned menu may not be the best solution.

Ruth
Post Reply