You need to set min-height to html and body.
Also, another tip. Place a div at the bottom of your wrapper, lets call it "push", to push your content up a bit so that it doesn't slip underneath the footer. Make it the same height as your footer, i.e.:
Like this:
HTML Code:
<div id="wrapper">
Your code as before...
<div id="push"></div>
</div>
<div id="footer">
Your footer...
</div>
Code:
#footer { height: 50px; }
#push { height: 50px; clear: both; }
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
|