Or, instead of using a class to reset the layout to original, why not set a class for the elements you actually are styling? When I use use INPUT elements I allways add a class related to what kind of input element it is and only refer to the class in the CSS. Recently I've started to use attribute selectors instead as it'll simply fall back to default UI elements if the UA doesn't support it.
I'm not sure if you will be able to reset a form element to use the OS UI once you've assigned. -Thom From: Matthew Pennell Sent: Tuesday, May 06, 2008 3:00 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Reset the styles on a submit button with CSS On Tue, May 6, 2008 at 1:52 PM, Paul Collins <[EMAIL PROTECTED]> wrote: My issue is that the submit buttons now have this styling also in certain browsers. I'd like to give them a class and set them back to their original look, but background:none; doesn't work. Is there a way of doing this does anyone know? Not quite what you asked, but have you considered using the <button> element for your submit button instead of an input? Removes this kind of annoyance. -- - Matthew ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ******************************************************************* ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************