| Author |
Netscape and Overflow Property
|
Rob Hunter
Ranch Hand
Joined: Apr 09, 2002
Posts: 788
|
|
In IE it works fine in Netscape it doesnt. In Netscape it doesnt display a scrollbar or anything and the contents that should be scrollable are just thrown on the screen and you have to scroll the whole page, not just the assigned area (which is absolute and not relative - i.e. percentage). Anyone have this problem before? Thanks. Rob
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Got a little lost in your question...in plain English are you saying.... So you are saying that you have a set width and height positioned on the page with the overflow property set to scroll/auto. Or are you saying that you have the height and width set to a percentage with the overflow property set to scroll/auto. And it just ain't workin!(trying to get some cowboy jargon in) Eric
|
 |
Rob Hunter
Ranch Hand
Joined: Apr 09, 2002
Posts: 788
|
|
Eric, I have a table nested inside a Div tag. The div tag uses a style sheet that attempts to use overflow and to only scroll vertically. In the same style sheet I've set the height and width to absolute values (i.e. not percentage values). It works in IE but not in Netscape, in Netscape it just shows a blank area where there is a scrollbar in IE. Nuff info (bit of rebel cowboy slang... I guess)? Thanks. Rob
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Can you post the css for the div... Eric
|
 |
Rob Hunter
Ranch Hand
Joined: Apr 09, 2002
Posts: 788
|
|
<div style="overflow-y: scroll; width: 100%;"> This wraps a table. My apologies, I though I had the width set as a non-percentage value. Rob
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
ah, easy answer...overflow-y is IE only (think it will be made a standard) use overflow: auto Eric
|
 |
 |
|
|
subject: Netscape and Overflow Property
|
|
|