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

后端 未结 4 871
情歌与酒
情歌与酒 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:42

    AFAIK, IE6 does not support attribute selectors, so I think the answer is no. You'd have to use one of the following:

    1. Add a common class attribute to all elements.
    2. Use JavaScript, as you suggested.

    Both of which you want to avoid. Too bad.

提交回复
热议问题