CSS - Select height
Select height is different in different browsers;
by JSDavi
HTML
<select>
<option>Here's one option</option>
<option>here's another option</option>
</select>
CSS
@media screen and (-webkit-min-device-pixel-ratio:0) { /*safari and chrome*/
select {
height:30px;
line-height:30px;
background:#f4f4f4;
}
}
select::-moz-focus-inner { /*Remove button padding in FF*/
border: 0;
padding: 0;
}
@-moz-document url-prefix() { /* targets Firefox only */
select {
padding: 15px 0!important;
}
}