On Mon, 11 Aug 2008 17:40:42 -0700 (PDT), in comp.lang.javascript
zalek <za********@hotmail.com>
<ec**********************************@f63g2000hsf. googlegroups.com>
wrote:
>| Maybe someone can show me an example of a listbox with 2 columns and a
| vertical bar created by HTML (JavaScript is OK).
|
| Thanks,
|
| Zalek
<select name="lb" size="1" style="font-family: monospace">
<option>R1C1 &n bsp; |
R1C2</option>
<option>Row 2 Col1 | Row2
Col2</option>
<option>Row 3 Column 1 | Row 3 Colmn 2</option>
</select>
----------------
IOW, style to use monospaced fonts and use to pad the first
column to the desired width.