Topic: Clipping & overflow in Mozilla Pages that link to <a href="https://ozoneasylum.com/backlink?for=10686" title="Pages that link to Topic: Clipping &amp;amp; overflow in Mozilla" rel="nofollow" >Topic: Clipping &amp; overflow in Mozilla\

 
Author Thread
Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

IP logged posted posted 03-03-2002 08:26 Edit Quote

I have a nested div. It is much larger than the browser window but its parent fits just fine. So the natural thing to do is to set the overflow: hidden for the outer div.

In Mozilla, the inner div is clipped visually however it still causes the window's scroll bars to behave as if it were visible. Is this a problem in Mozilla or am I doing something wrong?

(I've got it working beautifully in IE)

Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

IP logged posted posted 03-03-2002 08:38 Edit Quote

I just noticed Doc's homepage has those scroll bars in Mozilla too. I've been looking at the css2 spec and it doesn't really mention how the overflow and clipping is supposed to affect the browser's scroll bars. Cross browser coding is still a major pain in the butt!!!

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

IP logged posted posted 03-03-2002 15:25 Edit Quote

Bugs: I'm not sure if it is of much help but I often set overflow: auto on the body of a page (to turn of uneccesary scrollbars) and it does act funny in NS6 (try it). To get it to work I have to set the body's width and height to 100% (I'd have to check but I think that is right - or something like it). So try playing with heights and widths too and if you don't want the main scroll bars turn them off this way.

Hope that helps.

Emps

Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

IP logged posted posted 03-03-2002 17:58 Edit Quote

I tried the overflow: auto but I did not try the 100% thingy. Thanks, I'll give that a try



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu