How to style <input type=“text”> in IE6 CSS?

后端 未结 4 884
情歌与酒
情歌与酒 2021-01-01 17:59

Is there any elegant way of applying a certain style to all elements under IE6? I can do it with some JavaScript, but I was wonderin

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-01 18:26

    Do you also have other input elements which you wish to style differently to the "text" element? If not, just apply the style to all input elements with CSS:

    input {
    border: 1px #8194b2 solid;
    font : normal 100% "Tahoma", sans-serif;
    }
    

提交回复
热议问题