PDA

View Full Version : A growing and shrinking div (I think)


swatdesigns
05-16-2006, 05:02 PM
I am trying to figure out how to get the left side bar here: http://www427.pair.com/madgtech/dynamic_site/test.php?type=temperature
to fit the length of the page, on every page, currently it is part of the header file, Iwas thinking that it should be a file of it's own but someone told me that because the pages very in size this method would not work. Any help???
Thanks

BonRouge
05-16-2006, 06:06 PM
You can put an image the width of that column in the background (on the left, repeat-y) of that central part - basically beneath where your left column is now. Then you can remove the background colour from the left div so that it looks like the left column has a blue background when it actually has no background at all. (Does that make sense?) Then, if you set that central section to 'position:relative;', you can make that last part of your left column (which I assume you want to be at the bottom) to 'position:absolute; bottom:0;'.


I hope that helps.