/ Published in: CSS
URL: http://www.flashjunior.ch/school/footers/fixed.cfm
A cool script for fixed Footers. Works with i6,i67,all mozilla browsers and safari.
Expand |
Embed | Plain Text
#footer{ position:fixed; left:0px; bottom:0px; height:20px; width:100%; background:#999; } /* For 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
Subscribe to comments
You need to login to post a comment.

Check this: http://www.flashjunior.ch/school/footers/fixed_vollefensterhoehe.cfm
This version is with 100% content height. But this works only with JavaScript.
I hope i can help enyone with this?!
Without using JavaScript?
Whats that called within the IE6 only section of the CSS? I do believe that it is "javascript".