IE6 CSS fixed footer hack

In order to have a fixed footer on your HTML page that stays fixed at the bottom even if the user scrolls and that it works in IE6, you should use this hack:

<!–[if lte IE 6]>
<style type=”text/css”>
body {height:100%; overflow-y:auto;}
html {overflow-x:auto; overflow-y:hidden;}
* html #footer {position:absolute;}
</style>
<![endif]–>

Check this working example: http://www.pleyadechile.cl





Comments are closed.