View Full Version : setting DIV heights to 100% not working?

Dec 21st, 2009, 08:49 PM
I posted a question on here a couple days ago and you guys were really helpful, so I thought I'd throw another one at you.

i'm working on a website and want the heights of the of the divs to automatically adjust according to the content, instead of me going in and changing the div height manually. i've set the div heights to 100% but there is still a lot of white space at the bottom of them or they hang over the footer of the page. How do I make them all size up nicely and have the footer follow beneath it, instead of staying put.

here is the site:

the pages I'm having trouble with specifically are:

what am i doing wrong? thanks in advance

Dec 21st, 2009, 09:47 PM
When you set a div to 100% height, it means to use 100% of the available vertical space, divs usually do adjust their height according to what is inside them without explicitly declaring it, but you can try height:auto;.