Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lineing HTML Listbox with 2 columns of data
Message
From
12/03/2003 06:07:50
 
 
To
05/03/2003 15:48:32
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Internet
Category:
HTML
Miscellaneous
Thread ID:
00761773
Message ID:
00764676
Views:
24
>Is there any way to place 2 columns of data into a HTML listbox control and have the columns line up? My problem is that the second column snakes depending on the width of the data in the first column.
>
>Example of my 2 column listbox:
>
>Apple | Red
>Orange | Orange
>Pear | Green
>
>What I would like is:
>
>Apple | Red
>Orange | Orange
>Pear | Green
>
>Thanks,
>
>Jerry
In case you're still looking for a solution, how about setting the font used to "monospace" & manually aligning the columns with spaces - it may "snake" on the editor (depending on font used), but on the browser it will be aligned.
<select style="font-family: monospace">
<option>Apple  Red</option>
<option>Orange Orange</option>
<option>Pear   Green</option>
</select>
Len Speed
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform