PDA

View Full Version : Two <select> questions


don
03-13-2003, 05:36 PM
I have a select with 14 options. The drop down only lists 11 of them. Can I force it to show all 14?

Also, the display values are quite long. I would like to separate them into two columns like this:

[first column]Speech 1 [second column]Donald Duck
[first column]Speech 2 [second column]Mickey Mouse
[first column]Speech 3 [second column]Goofy

redhead
03-13-2003, 05:51 PM
size="14" should do it...?

im not totally sure what you mean about the two columns... do you mean a combo box type thing? like this:
http://javascriptkit.com/script/cut183.shtml

:thumbsup:

cg9com
03-13-2003, 06:25 PM
size=14 would turn it into a list, more than a dropdown list.
although it would work, if you mean you still want the compact dropdown, i think the listing is browser specific and cant be changed.

redhead
03-13-2003, 07:08 PM
oh right, well if youve got a drop down list it lists all of them?......

hence i thought it was a list list... :rolleyes: mistaken again

cg9com
03-13-2003, 11:33 PM
:confused:
i dont think i understand.
i was just saying size would render it un-dropdown, hehe.
still the same thing.

meow
03-14-2003, 05:51 AM
If the list doesn't show all options I'd guess you have a little error somewhere in the code.

No, can't do columns. But you could have two drop downs side by side. :)

don
03-14-2003, 01:16 PM
Thanks all. I tried putting it into a table for each entry which didn't work either. Given the time I probably could have used fixed width fonts and embedded some tabs in their depending on the width, but I had to get that out yesterday.

I appreciate the help anyway.