PDA

View Full Version : Can't keep table in place.



liquidigo
Nov 21st, 2006, 11:46 AM
I won't pretend to know what I'm doing with CSS. :)


There is a simple menu on my simple website @ http://chronicle.patrickalparone.com .

When a link is clicked and reveals more options, the entire page grows. I am trying to get the menu to grow by itself. Any ideas?

VIPStephan
Nov 21st, 2006, 01:39 PM
So you mean you wanna make the menu expand while the page should stay the same height? I'd say if you have more content in the main section that the page will be longer than the fully expanded menu this problem won't occur anymore. However, in the current state I would make the menu position: absolute; and set a min-height for the page (and some right padding on the main section's div so the content won't go as far as under the menu then). For IE6 you'd set height as workaround for the not-working min-height, applied through a conditional comment (http://www.quirksmode.org/css/condcom.html).

liquidigo
Nov 23rd, 2006, 05:47 AM
awesome. thanks so much.