W3C home > Mailing lists > Public > www-style@w3.org > November 1999

Re: default

From: L. David Baron <dbaron@fas.harvard.edu>
Date: Sun, 14 Nov 1999 17:16:33 -0500 (EST)
Message-Id: <199911142216.RAA05192@is02.fas.harvard.edu>
To: msh210@is7.nyu.edu, www-style@w3.org
On Sun, 14 Nov 1999 14:21:59 -0500 (EST), Michael Hamm
(msh210@is7.nyu.edu) wrote:
> element. Then in CSS as it stands now, I'd have to specify very many
> properties (i.e., ins{color:inherit;background-color:inherit;etc:etc}).
> Wouldn't it be wise to have a property called "all" (or the like), so that
> I could specify ins{all:inherit;font-weight:bolder}?

You wouldn't want to specify 'inherit' for all properties - think about
width, vertical-align, etc.  What you would want instead is something
that says reset all properties to their default (whether it is
inheritance or some value).  I'm not sure if such a declaration would
be a good idea, since it could cause strange forward-compatibility
problems (if things the author didn't expect to be under the control of
CSS came under the control of CSS, for example, whether a user could
interact with an element).

David

L. David Baron    Sophomore, Harvard (Physics)    dbaron@fas.harvard.edu
Links, SatPix, CSS, etc.     <URL: http://www.fas.harvard.edu/~dbaron/ >
WSP CSS AC                      <URL: http://www.webstandards.org/css/ >
Received on Sunday, 14 November 1999 17:16:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:01 GMT