Dave Miers wrote:

> I often use a * {margin: 0; padding: 0; border: 0; } as a starting 
> point and for the most part saves me lots of extra css code, 
> headaches, and time for layout with great cross browser/platform 
> support. However  sometimes when entering content in what is 
> basically a template it would be nice to restore the defaults for 
> just one div, is there anyway to stop this from affecting a 
> particular div?

You can use the CSS3 negation pseudo-class to that effect...
<http://www.w3.org/TR/css3-selectors/#negation>
...but it won't work in any version of IE - yet.

Wouldn't be wise to use it anyway, since the defaults you want to keep
varies a bit (too much IMO) across browser-land. Better declare what you
want, where you want it.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
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