Is there a way to set a default class to all <button /> or <input type="submit" /> elements? I know rails has a way to do this for other fields, such as ActionView::Helpers::InstanceTag::DEFAULT_FIELD_OPTIONS = { "class" => "text" }. However I haven''t found anything like this for buttons/submits. I know I can add something like input[type="submit"] { ... } to my CSS, but this won''t work for Internet Explorer. It just doesn''t seem very DRY that I should have to add a :class => "button" to every single button on my site. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---