position:fixed in IE 6 (without using 'expressions')
Copy this code and paste it in your HTML
body { height:100%; overflow-y:auto; }
#fixie {
position:fixed;
top:0;
left:0;
}
* html #fixie { position:absolute; }
<!--[if lte IE 6]>
<style type="text/css">
/*<![CDATA[*/
html {overflow-x:auto; overflow-y:hidden;}
/*]]>*/
</style>
<![endif]-->
URL: http://bettesmidler.com/code/2009-07-30.htm
Report this snippet
Comments
Subscribe to comments