Struggling to achieve uniform appearance for the select
box across all browsers and devices? It seems like IE 10 and Microsoft Edge are giving you trouble with the appearance
property. Any suggestions on how to fix this issue would be greatly appreciated. Thank you!
.form {
width: 300px;
padding: 20px;
background-color: #f5f5f5;
}
.textfield,
.select {
margin-top: 5px;
padding: 5px;
width: 100%;
}
.select {
background: #fff;
border-radius: 0;
}
<div class="form">
<div>
<label for="text">
<nobr>Text field</nobr>
</label>
<br />
<input name="text" tabindex="1" class="textfield" />
</div>
<br />
<div>
<br />
<select name="select" tabindex="2" class="select">
<option value="">-- Please Select --</option>
<option value="option 1">Option 1</option>
<option value="option 2">Option 2</option>
</select>
</div>
</div>