Im having some trouble targeting my buttons in ie7. Doesnt this work with an html5 doctype?
input[type="button"] { color: red; }
only
input { color: red; }
works, but thats not really what im after…
Thanks
Edit: this is a native ie7 problem. ie7-mode works in ie9.
Try to use
<button></button>instead of<input type="button" />. You then will be able to use element selector (BUTTON) instead of attribute selector (INPUT[type="button"]).And, just in case, of course, you cannot select
BUTTONelements withINPUT[type="button"]selector, and vice versa.