On Fri, 27 Aug 2004, Ryan McGreal wrote:
> I'd like to create a default style for form buttons (e.g. <input
> type="submit" />). However, I don't want that style to apply to other
> input elements (e.g. input type="text" />).
In principle, you can use the selector
as defined in CSS 2 and supported by some browsers.
But it's not practical, in general, since IE does not support such
> Is there some way (preferably pure CSS, but I'd be happy to hear any
> without having to add a class (e.g. <input type="button"
> class="buttonstyle" />) all the time?
Using classes is the practical way. Boring, but working.
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/