Click here to Skip to main content
15,920,383 members
Please Sign up or sign in to vote.
0.00/5 (No votes)

How to make a dropdown have vertical scroll bar with total 5 items

1 solution

<select size="5"></select>

Check this[^]
Share this answer
Van Hua 25-Aug-11 4:57am    
Thanks for your answer, I want to make a dropdownlist, not a listbox :)
Prerak Patel 25-Aug-11 5:13am    
Oops, edited the answer. Check the link.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900