Position: fixed werkt niet in Internet Explorer 6, het ontbreekt gewoon in de ondersteuning. Dus deze CSS eigenschap gebruiken heeft geen resultaat in IE6, maar er bestaat een fix.
Voor moderne browsers
HTML
<div id="fixed">DIV in position: fixed;</div>
CSS
#fixed {
position: fixed;
left: 0;
top: 0;
width: 100%;
padding: 10px;
background: gray;
}
Voor Internet Explorer 6
HTML
<div id="fixed">DIV in position: fixed;</div>
CSS
<!--[if lte IE 6]>
<style type="text/css" media="screen">
#fixed {
position: absolute;
top: expression((document.documentElement.scrollTop || document.body.scrollTop) + this.offsetHeight - this.offsetHeight);
}
</style>
<![endif]-->
