Thread: LISTBOX Width
Results 1 to 6 of 6
07-01-2002, 11:56 PM #1
Is there anyway of stopping a listbox control from automatically resizing when an options text length is greater than the set width or the contol?
07-02-2002, 12:33 AM #2
try this. got it from google newsgroups
>It is best to open a seperate non-resizable window to >display the material , as once a window is resized , so too >will the width of the listbox.
>Again this may not work for all browsers.
07-02-2002, 12:41 AM #3
07-02-2002, 03:09 AM #4
dont think there's any way to set a certain length. maybe u can try changing the font size and/or font face of the listbox to keep it within a certain size
07-02-2002, 05:24 PM #5
I have found an answer I used style = "width:=400px" in the declaration and it works. Now I have to work out how to display the text that has been cut off by this process.
07-02-2002, 08:31 PM #6
if it's too long then just add <br> in the <option>