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

前端 未结 8 1292
执笔经年
执笔经年 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:19

    This question is old but if someone have a related problem.. I spend a few minutes trying to solve a similiar problem

    input[type="Submit"] doesn't work on IE7 (despite of IE assigning the style correctly to the input as I saw in dev tools).

    SOLUTION: I switched from Submit to submit and it worked!

    I posted this here because it may help someone when debugging.

提交回复
热议问题