Posted By

alp on 02/14/11


Tagged

footer sticky


Versions (?)

Who likes this?

15 people have marked this snippet as a favorite

Internet-Uzver
wildrocker92
saman
SevenLayersDesign
aaearhart
wirenaught
Mench59
melaS
o0110o
lookingforsome
Mrnuub
lk_gahlot
imoddesign
Beppoi
Priestd09


CSS Sticky Fixed Footer


 / Published in: CSS
 

URL: http://www.flashjunior.ch/school/footers/fixed.cfm

  1. #footer {
  2. position:fixed;
  3. left:0px;
  4. bottom:0px;
  5. height:30px;
  6. width:100%;
  7. background:#999;
  8. }
  9. /* 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  

You need to login to post a comment.