I'm looking to create a select statement where each option contains quantity and price for an item we're selling. I thought I would create a table where for every row, quantity would be in one , and price would be in the other . I can't seem to get this to work in a select statement. I also tried using tags with a float-right and float-left and this didn't work either. Anyone have any ideas?
A:
You can't do this in plain HTML - you'd have to look at a javascript combo box replacement.
Erik
2010-01-10 00:44:20
A combobox is not the same as a dropdown. A combobox is an editable dropdown.
BalusC
2010-01-10 00:47:47
+1
A:
One thing I've done with plain html is to just add the appropriate number of
to line everything up correctly. JavaScript is probably the better way to go though.
Jay Askren
2010-01-10 00:46:52
A:
As an alternative to the above answers, you could just make the text of the options to make sense as english ..
something like
<select name="..">
<option value="1">1 item for xx price</option>
<option value="2">2 items for xxx price</option>
....
<option value="5">5 item for xxxx price</option>
</select>
Gaby
2010-01-10 01:12:43