how to give height to <select ?

i am giving style to select but it's not taking the height
.form{height:33px; margin-top:-1px;}
.form select{width:199px; height:60px; border-color:#919191; border-width:1px; background-color:#ffffff; border-style:solid; padding-left:12px; padding-top:5px; color:#000000;}
<div class="form"><select>
<option selected="selected">select</option>
<option value="Corporate Advisory">Corporate Advisory</option>
<option value="Executive Search">Executive Search</option>

Open in new window

Who is Participating?
David H.H.LeeConnect With a Mentor Commented:
The closer/simpliest solution is using existing <select> control and set its height as preferred. Then, use some client script to make it run as single selection using <select> control.
<select multiple style="height:76px" onchange="javascript:onlyone
function onlyone(obj){
 var intTotal=0;

Open in new window

David H.H.LeeCommented:
Hi arunprasher,
Just assign the <select>'s size property to 2 and check the different.
<select size=2>
arunprasherAuthor Commented:
here i want to show only one row (select) i just want to increase the height not to show two entries

just (select)  should be thier
(two should not be their)
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

David H.H.LeeCommented:
That CSS's height overridden effect may be vary based on different browser and I don't think I.e is support that changes. Probably you need to build custom control that similar to <select> control using some components like <div> or <span> combine with client script such as javascript, then you can adjust the control's height easily. But, this may consume a lot of efforts to do that.  
Jason C. LevineNo oneCommented:

xcom is correct: "I don't think [IE] is support that changes."

You can't apply a height to a <select> as IE won't render it.  Firefox will, but no browser will show two options for a goes against the HTML specs.

Jason C. LevineNo oneCommented:

What is that code supposed to do?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.