text field cursor issue in chrome

后端 未结 5 1861
隐瞒了意图╮
隐瞒了意图╮ 2021-02-09 01:03

I am using following css in my form section.

\"Screenshot

CSS

<         


        
5条回答
  •  旧巷少年郎
    2021-02-09 01:26

    Remove line-height attribute from your css class, I think it will help you
    updated fiddle: http://jsfiddle.net/4Etyn/16/

    .username input{ background-color: #FFFFFF; border: 2px solid #DDDDDD; border-radius:5px; color: #9E9E9E; height: 30px; height: 22px\0/; width: 330px; padding:0px 10px 0px 10px; padding:8px 10px 0px 10px\0/; margin:15px 0px 0px 0px; vertical-align:middle; } :root .username input{ height: 30px\9; padding:0px 10px 0px 10px\9; }

提交回复
热议问题