1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Rep Power

    Question CSS Overflow:auto - Netscape vertical scrolling

    Hi all,

    I'm using Overflow: auto to add scroll bars to a page that displays records from a database that have very long URLs that would normally cause the content area to expand beyond the space defined in the stylesheet.

    This works great in IE, but Netscape 6 displays a vertical scrollbar and hides content regardless of whether the content overflows horizontally. Another post here suggested that NN doesn't expand content vertically if a <div> has overflow applied, but looks at other page elements to determain the height of the block.

    Any workaround suggestions? I've tried defining the height of the overflow div, and the parent div but nothing seems to work.

    I'm new to CSS-P any help is greatly appreciated.

    I've attached a page template that works with these style sheet definitions (there are more, these seem the most relavent):

    #content {
    padding: 10px;
    margin-left: 2%;
    background-color: #FFFFFF;
    font-family: Garamond, "Times New Roman", serif;
    color: #660000;
    margin-top: 1em;
    margin-right: 24%;
    white-space: normal;

    #sidebar {
    position: absolute;
    z-index: 25;
    left: 78%;
    margin-top: 1em;
    border-top-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-left-style: solid;
    border-top-color: #CCCC99;
    border-right-color: #CCCC99;
    border-bottom-color: #CCCC99;
    border-left-color: #CCCC99;
    padding-left: 1em;


    #recordwrap {
    overflow: auto;
    position: relative;
    clear: left;
    top: 2em;
    width: 100%;
    Attached Files

IMN logo majestic logo threadwatch logo seochat tools logo