/ Published in: CSS

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#footer { Â Â Â position:fixed; Â Â Â left:0px; Â Â Â bottom:0px; Â Â Â height:32px; Â Â Â width:100%; Â Â Â background:#333; } /* IE 6 */ * html #footer { Â Â Â position:absolute; Â Â Â top:expression((0-(footer.offsetHeight)+(document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight)+(ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop))+'px'); }
Comments
