Oups... with the font in the message, the space is not the same. But in your <select>... you could have all the | at the same place.
Main Topics
Browse All TopicsHi
On a html page while using the <SELECT>,<OPTION> tags how can I display more then one column.
for example:
Description1 code1
Description2 code2
Description3 code3
.
.
.
I do not mind concating 2 strings "Description1 + code1" but it must look like they are on other columns, I mean each field should start exactly in the same place as the one above him.
thanks
Asa.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
>>I mean each field should start exactly in the same place as the one above him.
This isn't Access or Excel. You can set the fixed font, but there's no guarantee that the user will see what you expect. Adding a bunch of spaces doesn't mean that things will 'line up' -- it just means that there will be spaces -- maybe.
Use a delimiter between them. -- works, so does | , or **.
Or just use a different text to display than you use for the submitted value.
This has been asked before and there is no way round it other than to use a single spaced type face and line them up i.e.
<form >
<p><select size="1" name="D1" style="font-family: Courier; ">
<option>London
<option>Paris &
<option>Washington USA</option>
<option>Rome &n
</select>
</form>
Business Accounts
Answer for Membership
by: BenjaPosted on 2003-01-13 at 09:19:12ID: 7718534
I don't know if that's possible in HTML... However, with a dynamic language (PHP, ASP,...) you could manipulate the strings to have :
description | code
blabla | 123
deeeesc | 0
...