HTML5, Placeholder, line-height in Webkit

后端 未结 4 786
小鲜肉
小鲜肉 2021-02-19 02:27

I have an input field:


with styles:

input {
    margin: 0;
    padding: 0         


        
4条回答
  •  遥遥无期
    2021-02-19 03:01

    It appears that removing your line-height declaration entirely works. It's worked for me in FF7, Chrome15 and Safari 5.1. Also looked good in IE9 and FF3.6 but does NOT look good in IE8.

提交回复
热议问题