Bernu Bernard wrote:
> When I scroll the window I want the the absolute div inside relative 
> to follow the text (of the relative div).
> 
> In W3C browsers, this works fine: 
> http://www.lptl.jussieu.fr/users/bernu/pub/test/position.html (all 
> div with Hello from 1 to 6 move together when I scroll the window)
> 
> I could not find out how to do that in IE6.

I didn't look at it in any details, but it looks like you're using a
CSS-only solution that is somewhat similar to the base behind this...
<http://www.gunlaug.no/contents/wd_additions_17.html>
...and it does have a weakness in that all absolute positioned elements
within range will appear "fixed" in IE6.
I solve that by inverting the whole "fixed" solution, and move the
vertical scrolling onto an added wrapper-div - keeping the "fixed"
elements outside the scrolling div and "fixed" to body.
Maybe that method will work for you.

Another solution is to use 'IE-expressions', like in this demo...
<http://www.gunlaug.no/contents/wd_additions_15.html>
I prefer to use this solution despite the fact that it uses proprietary
CSS for IE6.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to