44 users online (2 members and 42 guests)  


  Results 1 to 4 of 4

Related

  1. Add CSS scroll bar    Forum: CSS Forum
    Replies: 1
  2. CSS scroll box    Forum: CSS Forum
    Replies: 3
  3. Replies: 6
  4. I need help on a scroll bar??    Forum: HTML Forum
    Replies: 9
  1. #1
    hbass's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Mar 2004
    Location
    Colorado
    Posts
    71

    you must get tired of hearing scroll bar

    Hi all,
    I have done a search, and cannot find the answers! I am using an attached style sheet with a layer of text. The text overflow is set to auto and should appear with only a vertical scroll, which is all it needs. However, the infamous horizontal scroll shows up in Netscape and Safari. Really annoying! Here is my style sheet:

    .copybox {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-style: normal;
    line-height: 14px;
    font-weight: normal;
    font-variant: normal;
    color: #000033;
    overflow: auto;
    position: relative;
    visibility: visible;
    z-index: auto;
    height: 212px;
    width: 212px;
    white-space: normal;
    border-right-width: medium;
    margin: auto;
    padding-right: 3%;
    }
    Any ideas would be great. i am using DW and not very good with code yet.
    Thanks!
    Heidi

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    I think this page may be of help.
    http://www.quirksmode.org/css/overflow.html

    Dave

  3. #3
    hbass's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Mar 2004
    Location
    Colorado
    Posts
    71
    Thanks, Dave, but I didn't find the answers there. Why does Netscape show the horizontal scrollbar on a layer of text set to overflow when it is not necessary (all it needs is a vertical), and is there anything that can be done to prevent this? It looks bad with that horizontal scrollbar. In the past I have used frames to be able to scroll without getting the horizontal, but for this application frames are not a great solution. I would still appreciate any suggestions.
    Heidi

  4. #4
    hbass's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Mar 2004
    Location
    Colorado
    Posts
    71

    My Solution!!

    Well, I found a solution. I changed the right padding to pixels from percent, and now Netscape doesn't show those nasty horizontal scrollers. Just thought I'd share
    Heidi



Tags for this Thread