html - input select box don't use a padding in Safari -
html - input select box don't use a padding in Safari -
i have input select box , have align text in box. in google chrome, firefox , ie <= 9 works fine. safari don't utilize padding..
here code:
<select class="anrede1"> <option>frau</option> <option>herr</option> </select> .anrede1, .land { font-family:'roboto condensed'; font-size: 22px; color: #575656; margin: 10px 10px 10px 0px; width: 100%; height: 42px; text-align: left; padding-left: 17px; border: 2px solid #e1eef9; font-weight: 300; } http://jsfiddle.net/jhne7pfe/
some ideas prepare that?
its late reply searching solution same problem while. using text-indent shifted elements around input element , padding still ignored.
-webkit-appearance: textfield; using solved problem, hope saves else time.
html css safari padding
Comments
Post a Comment