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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -