aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Netscape and Overflow Property Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Netscape and Overflow Property" Watch "Netscape and Overflow Property" New topic
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
    
    6
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
    
    6
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
    
    6
ah, easy answer...overflow-y is IE only (think it will be made a standard)

use

overflow: auto

Eric
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Netscape and Overflow Property
 
Similar Threads
Netscape recognizes XML
Image Lightening
Can I hide the components in IE as well as Netscape....
javascript compatability for IE and Netscape
HTML Frames and JSP!