Previous Message
Next Message

Default style for buttons

Sent by Ryan McGreal on 27 August 2004 14:02


Hi All,

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" />).

Is there some way (preferably pure CSS, but I'd be happy to hear any
JavaScript suggestions as well) to have style apply only to buttons
without having to add a class (e.g. <input type="button"
class="buttonstyle" />) all the time?

Any help appreciated.

Cheers,
Ryan

=====
The Triumph of Form over Content
http://www3.sympatico.ca/taylormcgreal/

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: