Forum Moderators: open

Message Too Old, No Replies

Problems with scrolling and Mozilla/Netscape

         

SippyCup

12:49 am on Jan 17, 2005 (gmt 0)



I hate to have to rehash this subject, but I've run into a problem that only experience can solve. I have an iframe with content that needs to be stationary at all times, no scrolling whatsoever. Within that iframe I have another iframe that will need vertical scroll set to automatic, in case the content overflows. In IE, I have had no problems doing this. In Moz/Netscape, however, I have had two problems:

1. I am unable to remove the horizontal scrollbar of the internal iframe, though the larger iframe's scrollbars are not present (probably because all scrolling is set to no on the large one, rather than one set to auto).

2. This is the real problem. In Moz and Netscape, the larger iframe scrolls around with the mouse wheel. That is, I can either roll the wheel, or press the button to get the multidirectional scroll to come up, and it moves around that way. This is not happening in IE.

I have tried:

-Setting scrolling to NO on the large iframe
-Setting scrolling to NO in the body tag of the source for the large iframe
-using CSS overflow: hidden

None of these seem to have any effect. Any help would be greatly appreciated.

<Sorry, no personal URLs.
See Terms of Service [webmasterworld.com]>

[edited by: tedster at 2:35 am (utc) on Jan. 17, 2005]

tedster

10:04 pm on Mar 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello SippyCup and welcome to the forums. We've let your post go without a response for much too long - probably because its a tough one. My apology for that oversight.

You've tried a few things - but perhaps overflow:auto rather than overflow hidden would give you the functionality you need here. When you get into nested situations it can also misfire on some browsers, but I thought it was worth a try.