×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
1
Language: CSS
Posted by: Philip Rehberger
Added: Sep 14, 2016 12:08 AM
Views: 1
Tags: no tags
  1. #footer {
  2.     position: fixed;
  3.     left: 0px;
  4.     bottom: 0px;
  5.     height: 30px;
  6.     width: 100%;
  7.     background: #444;
  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. }