Possible Duplicate:
make div's height expand with its content
On my website you can see that I fixed the footer of the page at the bottom. It needs to be visible at all times because of our sponsors, that's why I fixed it.
Now the problem is that a part of the content is hidden behind the footer. I was able to fix this by adding a large height to the .container_12 div in css like this:
.container_12 {
height: 1500px;
margin-left: auto;
margin-right: auto;
width: 960px;
}
But that's not a proper solution: for pages with only a little content it's way too high and are able to scroll all the way down leaving the content area all black; and when pages would grow in the future the height of 1500px could become insufficient.
Anyway, I just want it to fit, but don't know how to do it.
I hope anyone is able to help me!
Cheers guys