Subj : css/javascript and scrolling... To : netscape.public.mozilla.jseng,netscape.public.dev.dom,netscape.public.mozilla.jseng,netscape.public.dev.html,netscape.public.mozilla.dom,netscape.public.mozilla.general From : "ric@realise" Date : Fri Feb 28 2003 12:01 pm Guys, A problem I have come across several times is the scrolling of div's, in this case but in the past this has also included frames, when the overflow is set to hidden. Now I am going to compare this to ie, but I don't mean to say "ie does it so ns/moz should too". I just want to understand the reasoning behind the differences and what, if any, workarounds anyone can think of. Now for the example... [example:start] :
[example:end] Now in IE that will work fine, but in ns/moz you NEED to set the overflow to something else with 'auto' and 'scroll' options working. This means that scrollable divs in ns/moz must have the scrollbars showing which seems a shame as it can be used for some useful effects. Does anyone have any comment on this, any work arounds or even just a simple explanation on why the two browsers decide to implement this in different ways. Thanks in advance. Ric. .