Jump to content

How to set the height of a <select> dropdown list


argus.antony

Recommended Posts

I got a dorp-down list using <select> and a bunch of <option>. The dropdown list is too long and I want it shorter. Could anyone help me, please.I did tried the following, but none of them is work:

1) <select style="height:50"> 2) <style type="text/css>.aaa {	height:50px;}</style>...<select class="aaa"3) <select style="clip:rect(0, auto, 50, auto)">

I know most of you are good in HTML, please help. Thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...