[thelist] Re: IE5Mac horizontal scrollbar bug solved

Peter-Paul Koch gassinaumasis at hotmail.com
Tue Sep 3 03:30:01 CDT 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?

Could be either. I think it's impossible to find out. How does one measure a
margin of an absolutely positioned element? The only way I could think of
was what I did: put it to the right or bottom of the page and see whether
scrollbars appear.

So I can't answer your question.

ppk

> > 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.


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com




More information about the thelist mailing list