When using overflow: auto for an element inside a page, the page nonetheless becomes long enough to contain the entire content of the element, even though part of it is hidden. This causes your page to scroll down as far as where the hidden content goes. This is a known bug in IE5 for Mac and very annoying to me. Has anyone found a workaround?
I was wondering if anyone knew of a way in the body tag to specify based on the browser which scroll setting to apply to the page (default, auto or no)? If you change the scroll setting in the body to "no" it will prevent the page from scrolling alltogether. This would be fine for IE5 Mac users but I don't want to impose that rule on PC users as it would be a pain not to be able to scroll the page if your screen resolution cut part of the design.
No one has been able to provide a direct workaround to this problem. What you can do instead is create a different page and use an iframe instead of a div layer. iframes display perfectly in IE5 though they can be fussy and not totally supported in other browsers.