Input field showing different size in iOS

Raymond the Developer

I have an input field with a background and a fixed width/height. It looks good in all the browsers on my desktop. But for some reason it looks bigger on the iPad and iPhone.

I tried several tricks in Css but nothing worked so far.

width: 120px !important;
background-image:url('../img/header-input.png');
height: 30px;
-webkit-appearance: none !important;
-webkit-border-radius: 0;
border-radius:0;
@include border-radius(0);
outline: none;
border: none;
Alberto

Be careful, as far as I know Safari browser in iOS adds extra padding in the input fields.

Try using this code inside your css:

padding: 0;

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Input field showing different size in iOS

From Dev

the input field size in HTML

From Dev

Password input field showing value

From Dev

input field showing an URL with quotes

From Dev

Input field and gldatepicker showing gap

From Dev

textAngular input field showing? Why?

From Dev

Bootstrap Different input size different screen size

From Dev

Struct has different size if the field order is different

From Dev

Input field with different unit of measure

From Dev

iOS 7 showing different UDIDs in different applications

From Java

Not showing placeholder for input type="date" field

From Dev

Blinking Caret Not Showing up in Input Text Field

From Dev

Input field suggessions are not showing properly on firefox

From Dev

iOS: Autolayout not showing correct size in iPhone

From Dev

IOS: AutoLayout UITableView -> UITableViewCell not showing correct size

From Dev

iOS: Autolayout not showing correct size in iPhone

From Dev

GWT SuggestBox Popup same size as Input Field

From Dev

Specify input field width base on character size

From Dev

GWT SuggestBox Popup same size as Input Field

From Dev

Icon unwantedly changing input field size jquery

From Dev

input field always prompts for input rather than showing placeholder text

From Dev

Vertical align input elements with different size label

From Dev

Checking a different checkbox hides input field

From Dev

get value of a different input field with jquery keyup

From Dev

UITextView content size different in iOS7

From Dev

Xamarin App Keyboard is a different size to iOS Keyboard

From Dev

Xamarin App Keyboard is a different size to iOS Keyboard

From Dev

iOS: Size classes not changing for different sizes

From Dev

IOS/Storyboard: Adapt view to different size devices

Related Related

  1. 1

    Input field showing different size in iOS

  2. 2

    the input field size in HTML

  3. 3

    Password input field showing value

  4. 4

    input field showing an URL with quotes

  5. 5

    Input field and gldatepicker showing gap

  6. 6

    textAngular input field showing? Why?

  7. 7

    Bootstrap Different input size different screen size

  8. 8

    Struct has different size if the field order is different

  9. 9

    Input field with different unit of measure

  10. 10

    iOS 7 showing different UDIDs in different applications

  11. 11

    Not showing placeholder for input type="date" field

  12. 12

    Blinking Caret Not Showing up in Input Text Field

  13. 13

    Input field suggessions are not showing properly on firefox

  14. 14

    iOS: Autolayout not showing correct size in iPhone

  15. 15

    IOS: AutoLayout UITableView -> UITableViewCell not showing correct size

  16. 16

    iOS: Autolayout not showing correct size in iPhone

  17. 17

    GWT SuggestBox Popup same size as Input Field

  18. 18

    Specify input field width base on character size

  19. 19

    GWT SuggestBox Popup same size as Input Field

  20. 20

    Icon unwantedly changing input field size jquery

  21. 21

    input field always prompts for input rather than showing placeholder text

  22. 22

    Vertical align input elements with different size label

  23. 23

    Checking a different checkbox hides input field

  24. 24

    get value of a different input field with jquery keyup

  25. 25

    UITextView content size different in iOS7

  26. 26

    Xamarin App Keyboard is a different size to iOS Keyboard

  27. 27

    Xamarin App Keyboard is a different size to iOS Keyboard

  28. 28

    iOS: Size classes not changing for different sizes

  29. 29

    IOS/Storyboard: Adapt view to different size devices

HotTag

Archive