html - The style of website is different on iOS devices -


for example input of type submit..
windows , android: http://s24.postimg.org/ia239b9ch/untitled.png

ios: http://s17.postimg.org/4y4nuc8qz/test.jpg
same result various types of browsers on ios (google, chrome, , safari)

<input class="bluesubmit" type="submit" value="test">

<style> .bluesubmit { background-color: #64b5f6; font-weight: bold; padding: 3px 2%; border-radius: 5px; font-size: 110%; color: #ffffff; text-decoration: none; border: 0; } .bluesubmit:hover, .bluesubmit:focus { background-color: #1e88e5; } </style> 

every browser has own default css-values. same in ios, use -webkit-appearance: none; in css of input-field.

.bluesubmit {     background-color: #64b5f6;     font-weight: bold;     padding: 3px 2%;     border-radius: 5px;     font-size: 110%;     color: #ffffff;     text-decoration: none;     border: 0;     -webkit-appearance: none; } 

should work!


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -