hide vertical scrollbar

Posted by Codeffect on Stack Overflow See other posts from Stack Overflow or by Codeffect
Published on 2010-06-15T09:09:44Z Indexed on 2010/06/16 6:32 UTC
Read the original article Hit count: 233

Filed under:
|
|

How to hide the vertical scroll bar of a Listbox that is present inside a div.

<div id="lstQueriesDiv" style="overflow-y: hidden !important; overflow-x: auto !important;
         Width: 650px; height:167px;" > 
 <asp:ListBox ID="lstQueries" runat="server" CssClass="cssLstQueries" Rows="9"></asp:ListBox>
</div>

css:

    .cssLstQueries{
    Width:auto;
    }

I want to hide the vertical scrollbar of the listbox not the the vertical scrollbar of the div.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET