[thelist] Re: macIE5 and css overflow property

sam samiam at sam-i-am.com
Tue Apr 16 23:31:01 CDT 2002

On Tue, 16 Apr 2002, Alexandre Simard wrote:

> Hi Sam,
> I am actually encountering the same problem you wrote about on
> thelist at evolt.org. I could live with the horizontal scrollbar, it's the
> clipping that _really_ sucks.

I do have some progress to report there.. I've a page documenting my
findings in the works, but got snowed under with projects recently. I'm
writing from memory so apologies if I mix this up, but if I recall,
setting padding-right of 16px on the scrolly div fixes the horizontal
scrollbar and clipping. But now you have a new problem because
it's all
screwed up in winIE5 etc. But it turns out there's a nifty hack you can
employ to isolate macIE5 - what I call the commented backslash hack.

Take a look at this:

I was just doing some more testing now and I noticed that if I keep
reloading that page, occasionaly the text in the div will flow
differently. I put a 100% nested element in there (local copy), to see if
I could see what was going on, and it went away. So maybe that's a tip

There's one irritating issue left. When you use overflow: auto in macIE5,
the hidden content isn't really clipped, as revealed by the main
application scrollbar. That's proving a real crippling problem for the
implementation this was all intended for, so ironically I'm just
allowing it to degrade back to a regular div for macIE5 right now. If you
find an answer to that problem, let me know.


More information about the thelist mailing list