- From: David Håsäther <hasather@gmail.com>
- Date: Sat, 16 Dec 2006 01:05:43 +0100
On 2006-12-16 00:52, Asbj?rn Ulsberg wrote: > A much better solution is a 'reset' property or property value in CSS > that can reset different inherited and cascaded property values. I can > picture something like this: > > #box { > color : red; > text-align: center; > } > > #box div { > reset : color; /* resets the color to the browser's default value */ > } > > #box span { > reset : *; /* resets all cascading and inherited properties */ > } > > I think this is actually something lacking in CSS and something that > indeed should be proposed to the CSS WG. Similar things has been discussed at www-style at least a couple if times, see e.g. the thread starting here: http://lists.w3.org/Archives/Public/www-style/2005Aug/0033.html Your 'reset' property certainly looks interesting in my opinion. -- David H?s?ther
Received on Friday, 15 December 2006 16:05:43 UTC