Rcritical
08-02-2010, 02:23 AM
Hello, I need help pushing a footer to the bottom of the page WHILE also stretching the content div down to it.
The code below is a simplified version to show my problem:
<div id="header"></div> // width: 100%
<div id="content"></div> // width: 800px; margin:0 auto;
<div id="footer"></div> // width: 100%
So when I push the footer to the bottom of the page I also need to stretch the content div down to the footer.
http://img804.imageshack.us/img804/5499/41585392.png
The code below is a simplified version to show my problem:
<div id="header"></div> // width: 100%
<div id="content"></div> // width: 800px; margin:0 auto;
<div id="footer"></div> // width: 100%
So when I push the footer to the bottom of the page I also need to stretch the content div down to the footer.
http://img804.imageshack.us/img804/5499/41585392.png