Fixed Bottom Align Div
4 answers
Do a quick Google search for CSS footer and you will find many solutions. But most of the solutions seem to work like this:
<body>
<div id="wrapper">
Main content
</div>
<div id="footer">
Footer content
</div>
</body>
and then applying css:
body, html { height: 100% }
#wrapper { height: 100% }
#footer {
height: 150px;
margin-top: -150px;
}
+1
a source to share
EDIT: Because IE6 doesn't support the: fixed; position, here's a good workaround .
0
a source to share
Cannot be used for IE6 position:fixed
. You can use Dean Edwards' IE7 library to get this behavior if you like.
0
a source to share