Hi Danny,
If you want a listbox to show a horizontal scroll bar then you need to wrap the control in a div tag (or span) and set the desired width, then set the wrapper element to use a scrollbar on horizontal overflow. Here is an example:
<div style="width:80px; overflow-x:auto">
<asp:ListBox id=YourListBox runat="server"></asp:ListBox>
</div>
>Hey there all...
>
>Is there anyway using CSS or any other method that will allow one to get a horizontal scroll bar to show on a list box for Web Forms? It is very easy in Win Forms, but I haven't been able to get it to work with Web Forms.
>
>Many Thanks in Advance...
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi