Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lineing HTML Listbox with 2 columns of data
Message
De
12/03/2003 06:07:50
 
 
À
05/03/2003 15:48:32
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Internet
Catégorie:
HTML
Divers
Thread ID:
00761773
Message ID:
00764676
Vues:
23
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform