Alex Barber | Digital Artist

time to push the pixels

IE6 position:fixed


You can use XHTML 1.0 Transitional too. By using the “important!” declaration, you don’t need an conditional comment anymore:

* { margin:0; padding:0; }
html, body {
    height: 100%;
body #fixedElement {
    position:fixed !important;
    position: absolute; /*ie6 and above*/
    bottom: 0;

tested in ie6, ie7, ie8, ff2, ff3, safari3

Next Post

Previous Post

© 2024 Alex Barber | Digital Artist