Posted By

a1ias on 05/16/11


Tagged

css ie fixed


Versions (?)

Fixed DIV in InternetExplorer


 / Published in: CSS
 

  1. body {padding: 5em 0 0 0;}
  2.  
  3. h1 {
  4. position:fixed;
  5. _position: absolute;
  6. top: 0;
  7. _top: expression(eval(document.documentElement.scrollTop));
  8. left: 0;
  9. margin: 0;
  10. padding: 0;
  11. background: lime;
  12. }

Report this snippet  

You need to login to post a comment.