You are here: Re: selector with multiple entries per row « HTML « IT news, forums, messages
Re: selector with multiple entries per row

Posted by Toby Inkster on 07/30/06 09:10

David Dorward wrote:
> mcraven.2@wright.edu wrote:
>
>> 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.

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.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация