Sent by Sean \XariusX\ Maddison on 15 December 2002 11:11
At 02:52 15/12/2002 -0800, Brandon Oto wrote:
>Does anyone know if there are any plans to incorporate some kind of generic
>"default" value into CSS3, a la "inherit" or "auto" -- something that sets a
>selector to its basic, default, unstyled state, as if you'd never applied
>any CSS to it? This would be awfully handy in situations like this, when you
>just want to override inheritance or kill an unwanted style, but don't know
>or care what the default actually is.
>
>e.g. With the Tantek Box Model Hack, we use voice-family:inherit because
>that presumably would work. But if we could say something like
>voice-family:default , it would seem to be closer to the truth -- we don't
>necessarily want it to "inherit", we just want to set it back to the way it
>would have been before we started mucking around with it.
>
>- Brandon Oto
http://www.w3.org/TR/CSS2/cascade.html#value-def-inherit
If you tell a CSS thingy to inherit, then it does... I could have SWORN
there was an
inherit: none;
whatsit but it doesn't seem to exist... The best way to do it is to reset
each value...
>>> Sean "XariusX" Maddison
... http://dark-horizon.org/
... [EMAIL-REMOVED]
... Certified virus free by, err, me!