Jack Timmons wrote:

> Because of the way this site I work with and the CSS was coded, we
> have a statement like:
>
> input {background: none;borders: none;}

That sounds odd and may cause rather unpredictable results (especilly if 
you actually have "border", not "borders", which does not exist in CSS), 
unless you have rules that set backgrounds and borders for input 
elements that need them.

> A coworker wishes to have a submit button that removes any of the
> previous formatting done.

I beg your pardon? That would involve something external to CSS, either 
client-side or server-side scripting.

Or do you mean that he or she wants to have a submit button _for which_ 
some previously formatting is not applied?

There is no way to "undo" things in CSS in general. You can override a 
setting for a property by setting it to a specific value, but you cannot 
tell browsers to apply their defaults, against any settings that might 
exist elsewhere in stylesheets.

Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/ 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to