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> Quote Link to comment Share on other sites More sharing options...
haku Posted August 29, 2008 Share Posted August 29, 2008 No. Quote Link to comment Share on other sites More sharing options...
didgydont Posted August 29, 2008 Author Share Posted August 29, 2008 thank you Quote Link to comment 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> Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted August 29, 2008 Share Posted August 29, 2008 I thought it was multiple not size. ??? Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.