Only in Firefox in <input type="text">
additional padding appears in 1 pixel to the left and above.
How to remove them?
additional padding appears in 1 pixel to the left and above. Ho...">
span { display: inline-block; }
Read here .
so that all browsers are the same, write down the hard height for all inputs.
Oh yes, I forgot. Span with class col1 give display: block and float: left. And do not forget to use line-height.
And then everything will be clear and even =)
PS indent what? padding or margin? for with a margin I wrote a solution
So:
.col1, .col2 {display:inline-block;}
Source: https://ru.stackoverflow.com/questions/230675/
All Articles