While the other answers do work, you should avoid using negative fields.
Try the following:
.footerholder { background: none repeat scroll 0 0 transparent; bottom: 0; position: fixed; text-align: center; width: 100%; } .footer { background: none repeat scroll 0 0 blue; height: 100px; margin: auto; width: 400px; }
And the HTML will look like this:
<div class="footerholder"> <div class="footer"> .... </div> </div>
---------- Change ------------
You must also change your page size to accommodate the height of the footer - otherwise you will never see the bottom content
source share