I'm wondering if it is possible to format the form buttons on a page using CSS without adding classes or ids to the existing markup whilst not affecting the other <input> elements.
I guess what I'm asking is, is it possible to style an <input> element using only the type attribute?
Have a look at the type-Selectors. http://www.w3.org/TR/2004/CR-CSS21-20040225/selector.html#attribute-selectors
for example:
input[type="submit"] {}Of course it won't work in IE. ;-)
greetings
Susanne
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************
