Internet Exploder 7

I installed IE7 in Parallels, and proceeded to check if this blog’s theme renders ok. There was an issue with H2.0’s fixed footer.

The new CSS code is:

#footer { /* for IE6 */
  position: absolute;
  top: expression(
    ( 0 - footer.offsetHeight +
      ( document.documentElement.clientHeight ?
        document.documentElement.clientHeight :
        document.body.clientHeight ) +
      ( ignoreMe =
        document.documentElement.scrollTop ?
        document.documentElement.scrollTop :
        document.body.scrollTop )
    ) + 'px' );
}
div[id=footer] { /* for real browsers */
  position: fixed !important;
  top:auto !important;
  bottom:0;
}

Hopefully this maintains compatibiliy with IE6. I got a standalone testing browser from evolt’s archive - this sort of works for checking box-model stuff, but advanced hacks like IE’s Alpha filter are broken.


About this entry