CSS Positioning Elements: Overflow

Posted:
in Genius Bar edited January 2014
This is my code:[code]#leftNav {

background-color: #CCCCCC;

color: #000000;

top: 77px;

left: 0px;

height: 275px;

width: 175px;

position: absolute;

padding: 0px;

overflow: scroll;

z-index: 6;

visibility: visible;

}

</pre><hr></blockquote>

is there anyway to make the scrollbars not appear when the contents of the div are not larger then the div itself? Right now, I have useless scrollbars half of the time. (In NS7 and IE5.1.5, haven't tested others yet)



[ 09-26-2002: Message edited by: Stroszek ]</p>

Comments

Sign In or Register to comment.