css - Padding on input element not working as expected on mobile safari (iphone) -
why doesn't padding work in iphone safari? padding-right exact
simple html:
<div class="content"> <input class="inputsblock"/> </div>
and css:
.content{ padding:18px; } .inputsblock{ width:100%; border:2px solid #000; }
it works in anothers browsers. solution? image:
actually, remove padding
.inputsblock{ padding: 0; }
tested on simulator only
Comments
Post a Comment