[thelist] Re: IE5Mac horizontal scrollbar bug solved

William Kolean thelist at lists.evolt.org
Mon Sep 2 20:57:01 2002


I noticed that 15 pixels is the exact width of the scrollbar, and in your
example you don't get the scrollbar as long as you stay to the edge of where
the scrollbar would be, if it were there. So does Mac IE5 give all
absolutely positioned elements a secret margin of 15px, or just the ones
that intrude in the scrollbar area?

William

> My current theory is that IE5Mac gives each absolutely positioned element a
> secret margin of 15 pixels. My solution, based on this theory, works in two
> simple test cases. It also doesn't bother the other browsers.
>
> See http://www.xs4all.nl/~ppk/js/ie5mac/margin.html for the full story and
> the solution.