Here is the HTML code snippet I am working on:
<select id="ddlCountry" placeholder="optional" class="select" title="Select Country">
<option value="0">country</option>
</select>
This is how the CSS is set up:
.select {
width: 224px;
border: none;
font: normal 14px/16px "HelveticaNeueLTCom45Light" , Georgia,serif;
display: block;
float: none;
height: 32px;
margin-top: 9px;
border:1px solid;
color: #6d6e71;
padding: 0px 4px 0px 4px;
background: url(../images/selectbg.png) no-repeat right 9px #fff;
-webkit-appearance: none;
}
The problem I am facing is that the text inside the dropdown is aligned to the top in Mozilla Firefox but appears centered in other browsers. Is there a way to consistently align the text to the middle in all browsers?
For reference, here is the JSFiddle link.