[thelist] IE5Mac horizontal scrollbar bug solved

Peter-Paul Koch gassinaumasis at hotmail.com
Sat Aug 31 13:17:01 CDT 2002


Hello,

I think I have solved a minor but annoying CSS bug in Explorer 5 on Mac.
When placing absolutely positioned elements near the right or bottom border
of the window, IE5Mac shows annoying scrollbars where none are needed. The
horizontal ones, especially, creep up in many places (in Hotmail, for
instance).

I solved this particular bug, though there are at least two other bugs that
cause similar unwanted horizontal scrollbars.

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.

One browser bug solved, only 423,598 to go.

ppk


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com




More information about the thelist mailing list