selector with multiple entries per row

M

mcraven.2

I have a drop down that I want to have two columns inside of. Is this
possible? I believe you can do this with MS Access but can it be done
in HTML. I don't know how the option tag would look.
 
D

David Dorward

I have a drop down that I want to have two columns inside of. Is this
possible? I believe you can do this with MS Access but can it be done
in HTML.

No. I'd suggest a three column table with one column containing radio
buttons.
 
T

Toby Inkster

David said:
No. I'd suggest a three column table with one column containing radio
buttons.

Another option is something like:

<style type="text/css">
#foo, #foo OPTION {
font-family: "Courier New", monospace;
}
</style>
<div>
<label for="foo">Please choose a widget product by name or part number:</label><br>
<select name="foo" id="foo">
<option value="001">Blue Widget&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| 001</option>
<option value="002">Red Widget&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| 002</option>
<option value="101">Blue Widget Pack&nbsp;| 101</option>
<option value="102">Red Widget Pack&nbsp;&nbsp;| 102</option>
<option value="200">Variety Pack&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| 200</option>
</select>
</div>

Though that's fairly inelegant.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top