IE6 and IE7 Input padding CSS
Posted
by Podlsk
on Stack Overflow
See other posts from Stack Overflow
or by Podlsk
Published on 2010-04-30T11:56:13Z
Indexed on
2010/04/30
11:57 UTC
Read the original article
Hit count: 278
I have input boxes with a height of 25 pixels. In Firefox, Safari and IE8 automatically vertically align the text of it in the middle correctly. However in IE6 and IE7 the text is aligned to the top.
How may I resolve this? Adding padding-top increased the total height of the input as I have explicitly declared its height.
I don't wish to use browser specific CSS.
Thanks.
© Stack Overflow or respective owner