I could create an ASP.NET ListBox with horizontal scroll bar using the following code
<div style="width:160px; overflow-x:auto;">
<asp:ListBox ID="ListBox1" runat="server"></asp:ListBox>
</div>
But how can I set the min-width property to the ListBox so that it will not shrink even if there is no item exist. I tried with CSS’s min-width, but did not get it.
I visited a page here , but I cannot format it in code behind file.
Ohhh.. My Goodness !! I used document mode as IE 7 Standards .
min-widthwill not work in IE 7.