Css attribute selector for input type="button" not working on IE7
Posted
by Cesar Lopez
on Stack Overflow
See other posts from Stack Overflow
or by Cesar Lopez
Published on 2010-02-02T16:10:41Z
Indexed on
2010/04/01
6:23 UTC
Read the original article
Hit count: 315
Hi all, 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 catch all buttons with out having to add a class to every single one, for some reason this is not working on IE7, after checking on the web it says that IE7 should be supporting this.
Also it has to be type="button" and not type="submit" as not all buttons will submit the form.
Could anybody give a hint what am I doing wrong?
input[type="button"]{ text-align:center; }
I have also tried input[type=button]
Any help would be very much apreciated.
© Stack Overflow or respective owner