Posted By

FlashJunior on 08/06/08


template footer position fixed

Versions (?)

Who likes this?

4 people have marked this snippet as a favorite


Position Fixed Footer whitout JavaScript

 / Published in: CSS


A cool script for fixed Footers. Works with i6,i67,all mozilla browsers and safari.

  1. #footer{
  2. position:fixed;
  3. left:0px;
  4. bottom:0px;
  5. height:20px;
  6. width:100%;
  7. background:#999;
  8. }
  9. /* For ie 6*/
  10. * html #footer{
  11. position:absolute;
  12. 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');
  13. }

Report this snippet  


RSS Icon Subscribe to comments
Posted By: FlashJunior on August 6, 2008

Check this:

This version is with 100% content height. But this works only with JavaScript.

I hope i can help enyone with this?!

Posted By: CarlJ on December 4, 2008

Without using JavaScript?
Whats that called within the IE6 only section of the CSS? I do believe that it is "javascript".

Posted By: on November 2, 2018

review air purifier true hepa filter replacement for germguardian airpurifiers-review

Posted By: on December 8, 2018

the 8 best rca indoor omni directional flat digital tv antenna visit website

You need to login to post a comment.