Posted By

browncardigan on 02/08/10


Tagged

css ie6 hacks


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

novatvstdios
johnloy


position:fixed in IE 6 (without using 'expressions')


 / Published in: HTML
 

URL: http://bettesmidler.com/code/2009-07-30.htm

  1. <style type="text/css">
  2.  
  3. body { height:100%; overflow-y:auto; }
  4.  
  5. #fixie {
  6. position:fixed;
  7. top:0;
  8. left:0;
  9. }
  10.  
  11. * html #fixie { position:absolute; }
  12.  
  13.  
  14. <!--[if lte IE 6]>
  15. <style type="text/css">
  16. /*<![CDATA[*/
  17. html {overflow-x:auto; overflow-y:hidden;}
  18. /*]]>*/
  19. </style>
  20. <![endif]-->

Report this snippet  

You need to login to post a comment.