text field cursor issue in chrome

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

I am using following css in my form section.

\"Screenshot

CSS

<         


        
5条回答
  •  星月不相逢
    2021-02-09 01:37

    Here's sample css for inputs that will be aligned in IE8 and won't show giant cursor in Chrome.

    line-height: 14px/*to enclose 13px font, override this if needed*/;
    height: 14px/*to enclose 13px font, override this if needed*/;
    /*Padding is needed to avoid giant cursor in webkit, which we get if
    height = line-height = 22px.*/
    padding: 6px 8px;
    

提交回复
热议问题