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:

link

actually, remove padding

.inputsblock{     padding: 0; } 

http://jsfiddle.net/lkhtm/9

tested on simulator only


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -