Css attribute selector for input type=“button” not working on IE7

前端 未结 8 1267
执笔经年
执笔经年 2020-12-05 20:38

I am working on a big form and it contains a lot of buttons all over the form, therefore I am trying to get working input[type=\"button\"] in my main css file so it would ca

8条回答
  •  借酒劲吻你
    2020-12-05 21:22

    I am pretty sure everybody is aware of the fact that the solution of adding a !DockType to the header isn't a possibility all the time.

    For instance, I develop in DotNetNuke (DNN) environment which the developer doesn't have an access to the header. Then it makes it almost impossible to add !DocType.

    In this case you don’t have too much of an option except relating a CssClass to the button and referring to it, explicitly, in the CSS module.

提交回复
热议问题