Previous Message
Next Message

Re: [css-d] position:fixed & IE6/PC - Take 2

Sent by Eric A. Meyer on 26 February 2002 15:03


At 14:49 -0500 2/26/02, Chris Casciano wrote:

>This thread seems to have gotten majorly derailed... So let me restate my
>question. In a non-scrolling page I was to to set a given element to
>position:fixed. Alternately for IE6, and other browsers that don't know what
>position:fixed is I want to set that same element to position:absolute
>instead (rather then have it default to static).

    At the risk of making it seem like I'm trying to derail the thread 
again, visit the following page in IE6 and find out if it's fooled by 
any of the hacks shown there:

    <http://www.meyerweb.com/eric/css/tests/hacktests.html>

If so, then you could use whichever hack works in an adaptation of 
the Box Model Hack.  For example, this would work in IE5.5 but I'm 
told it does not work in IE6:

    #content {position: absolute;
      voice-family: "\"}\"";
      voice-family:inherit;
      position: fixed;}

Apparently IE6 fixed most of its parse bugs in both "quirks" and 
"strict" mode, so a lot of hacks stop working.  Or so I'm told. 
Confirmation one way or the other would be very much appreciated.

--
Eric A. Meyer (http://www.meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
   -- Martina Kosloff (http://www.mako4css.com/)
Previous Message
Next Message

Message thread: