• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Netscape and Overflow Property

 
Ranch Hand
Posts: 838
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 838
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you post the css for the div...

Eric
 
Rob Hunter
Ranch Hand
Posts: 838
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
<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
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ah, easy answer...overflow-y is IE only (think it will be made a standard)

use

overflow: auto

Eric
 
Acetylsalicylic acid is aspirin. This could be handy too:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic