.myclass{
height:175px;
width:395px;
overflow:scroll;
overflow-x:hidden;
border:0px solid red;
}
above mycss class will automatically show the vertical scroll bar
when the div height will be more than 175px;
and it will hide the horrizoltal scroll bar
No comments:
Post a Comment