Posted By

iamadams on 08/07/10


Tagged

footer fixed


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

Elog
jplr


Fixed Footer


 / Published in: CSS
 

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

Report this snippet  

You need to login to post a comment.