How to Hide overflow scroller of DIV

Posted by Rajesh Rolen- DotNet Developer on Stack Overflow See other posts from Stack Overflow or by Rajesh Rolen- DotNet Developer
Published on 2010-03-31T12:07:35Z Indexed on 2010/03/31 12:13 UTC
Read the original article Hit count: 416

Filed under:
|

I have set a fix height of DIV and set its overflow-y:scroll but the problem is that if i have got data less than its height event though its showing scroll bar (disabled). please tell me how can i hide it... i mean give me solution so that the scrollbar will only show when data in that DIV is crossing height of DIV..

My code :

  <div style="overflow-y:scroll; height:290px">
  a data grid is here
     </div>

© Stack Overflow or respective owner

Related posts about div

Related posts about ASP.NET