Advanced Search

Results 1 to 3 of 3

Thread: OVERFLOW property Question (Netscape)

  1. #1
    Join Date
    May 2006
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default OVERFLOW property Question (Netscape)

    I am trying to have a scrolling Div that has to work in Firefox, IE, Netcape.
    I was using

    overflow-x: hidden;
    overflow-y: scroll;

    However, that doesn't work in Netscape. I know that

    overflow: auto;

    should work, but in Firefox it keeps showing a horizontal scroll when the table is 100% - making the table 99% doesn't fill up the div and thus looks weird.

    Will this code work in netscape?

    overflow: auto;
    overflow-x: hidden;
    overflow-y: scroll;

    Would it ignore the overflow-x and -y?

    I know you all will say try it, but unfortunately I get a Socket Error when trying to install Netscape.

  2. #2
    Join Date
    Mar 2006
    Location
    Nashville, TN
    Posts
    600
    Thanks
    5
    Thanked 4 Times in 4 Posts

    Default

    PLEASE: Include the URL to your problematic webpage that you want help with.

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,699
    Thanks
    43
    Thanked 3,132 Times in 3,096 Posts
    Blog Entries
    12

    Default

    Yes, it will ignore those values as, it has no definition for them so, they are meaningless. Overflow set to auto should work for all browsers as long as the content width does not exceed the element with the overflow of auto's width. Percent widths are generally a poor choice for this sort of thing, try pixels or, if you must use percent and 99% is too narrow, try 99.5% or 99.7%, etc.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •