Fixed DIV in InternetExplorer


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.