HighDots Forums  

Div positioning

alt.html.dhtml alt.html.dhtml


Discuss Div positioning in the alt.html.dhtml forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jacob Riis - Making-IT
 
Posts: n/a

Default Div positioning - 06-26-2004 , 07:33 PM






Hi!

Here goes:

I have a page with a top menu. The entire page is a centered table 800
px wide with 1 row and 5 cells for the menu. To each of these cells
(menuheaders) is a submenu made with a div. I have positioned the
div's absolute. The divs turns off and on with mouseover/out.

Problem: The divs is only correctly positioned on 1 screen resolution
with a maximized browser.

How can I make the div position itself under its parent menu. I have
tried to make a relative positioning, but found that the div ekspanded
the topmenu row, allthough hidden.

You can see the page im playing with on:
http://www.launch-it.dk/test5.asp

It is only the first 3 menuitems that are working. You will get an
error mess. on the others.

Please help

Regards
Jacob Riis
jriis#making-it.dk (replace the # with @)
Copenhagen, Denmark
--- at this moment still in the European Soccer Championship ;-)

Reply With Quote
  #2  
Old   
Jacob Riis - Making-IT
 
Posts: n/a

Default Re: Div positioning - 06-28-2004 , 04:32 PM






jriis (AT) making-it (DOT) dk (Jacob Riis - Making-IT) wrote in message news:<a17b841d.0406261533.4934b0b3 (AT) posting (DOT) google.com>...
Quote:
Hi!

Here goes:

I have a page with a top menu. The entire page is a centered table 800
px wide with 1 row and 5 cells for the menu. To each of these cells
(menuheaders) is a submenu made with a div. I have positioned the
div's absolute. The divs turns off and on with mouseover/out.

Problem: The divs is only correctly positioned on 1 screen resolution
with a maximized browser.

How can I make the div position itself under its parent menu. I have
tried to make a relative positioning, but found that the div ekspanded
the topmenu row, allthough hidden.

You can see the page im playing with on:
http://www.launch-it.dk/test5.asp

It is only the first 3 menuitems that are working. You will get an
error mess. on the others.

Please help

Regards
Jacob Riis
jriis#making-it.dk (replace the # with @)
Copenhagen, Denmark
--- at this moment still in the European Soccer Championship ;-)
Found out myself. You just put the hole page in a div and set that div
to relative positioning. Then you center the div. It works because the
other divs relate to the first div.

\Jacob


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.