Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multi-column list box.

Status
Not open for further replies.

martindavey

Programmer
Jan 2, 2000
122
GB
How do I get a multi column list box?

I want the columns lined up, and I don't know how to change the font of a list box.
 
try something like this in the tag
watch for wrap.
style='font-family: Courier New;
font-size:xx-small;
height:18px;'

 
Hi All

How can I make a multi listbox stop automatically expanding
when the text becomes too large ??? Is there any way, I can specify the column width or something else ?

Help appreciated.
 
I use the fixed width font as shown above,
then when adding items to the columns in the list box
I make the items an exact width by padding out with spaces, or truncating larger items.

I build the list box using ASP. I don't know of any other way to fix the list boxes width.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top