I can\'t change select
height
, with all browser working fine, but Safari no, where can be problem? Also I try make class .style select
, bu
To style a select in Safari, you first have to turn off the os styling:
-webkit-appearance: none;
You can also use
line-height: 25px
which doesn't affect other browsers, but fixes this bug in Safari
The best way use modernizer detector and give safari class select menu a
line-height: 20px;
or you can use jquery UI select menu to solve this by another cross-browser wy.
Try adding this:
-webkit-appearance: menulist-button;