Page 1 of 1

form style in IE

Posted: Sat Oct 03, 2009 1:08 pm
by m2babaey
Hi
I used this style in my css:

Code: Select all

input[type=submit]  {
 background-color: #808080;
 color:white;
 font-weight:bold;
}
It's working in Firefox but not in IE
Do you know a solution?
Thanks for your help :P

Re: form style in IE

Posted: Sun Oct 04, 2009 5:52 am
by kaszu
IE6 doesn't support attribute selectors, add a CSS class to the submit button, then it will work in IE6 also.

Code: Select all

<input type="submit" class="submit" value="Send" />

Code: Select all

input.submit {