didgydont Posted August 29, 2008 Share Posted August 29, 2008 hi all is it possible to remove the arrow on a drop down box thank you eg <select> Link to comment https://forums.phpfreaks.com/topic/121821-remove-arrow-on-drop-down-box/ Share on other sites More sharing options...
haku Posted August 29, 2008 Share Posted August 29, 2008 No. Link to comment https://forums.phpfreaks.com/topic/121821-remove-arrow-on-drop-down-box/#findComment-628508 Share on other sites More sharing options...
didgydont Posted August 29, 2008 Author Share Posted August 29, 2008 thank you Link to comment https://forums.phpfreaks.com/topic/121821-remove-arrow-on-drop-down-box/#findComment-628510 Share on other sites More sharing options...
PFMaBiSmAd Posted August 29, 2008 Share Posted August 29, 2008 If you have two or more options, you can use a size="x" parameter to cause all options to be displayed without the drop-down arrow - <select name="cars" size="2"> <option value="volvo">Volvo</option> <option value="saab">Saab</option> </select> Link to comment https://forums.phpfreaks.com/topic/121821-remove-arrow-on-drop-down-box/#findComment-628540 Share on other sites More sharing options...
haku Posted August 29, 2008 Share Posted August 29, 2008 I think you can do that even if you don't have more than two options. But then it's not really a drop down menu anymore. Link to comment https://forums.phpfreaks.com/topic/121821-remove-arrow-on-drop-down-box/#findComment-628542 Share on other sites More sharing options...
JasonLewis Posted August 29, 2008 Share Posted August 29, 2008 I thought it was multiple not size. ??? Link to comment https://forums.phpfreaks.com/topic/121821-remove-arrow-on-drop-down-box/#findComment-628546 Share on other sites More sharing options...
PFMaBiSmAd Posted August 29, 2008 Share Posted August 29, 2008 It does not work when there is one option, unless you set size="2", but that gives an option followed by a blank line. Edit: multiple just allows multiple selections to be picked. Try what I posted here (modify the code on the left and hit the button above the box) - http://www.w3schools.com/html/tryit.asp?filename=tryhtml_select2 Link to comment https://forums.phpfreaks.com/topic/121821-remove-arrow-on-drop-down-box/#findComment-628547 Share on other sites More sharing options...
JasonLewis Posted August 29, 2008 Share Posted August 29, 2008 Ah, makes sense I guess. Multiple, multiple selections. Link to comment https://forums.phpfreaks.com/topic/121821-remove-arrow-on-drop-down-box/#findComment-628550 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.