Some idiot (namely, me) wrote:

#content a.external {color: blue;}
p.first a {color: green;}

If the first rule uses a class instead of an ID, however, and the rules still appear in that order, the second rule will override the first, and your external link in the first paragraph will now be misleadingly green.

No, it won't in this case, because I constructed the example poorly. Please just ignore the specific example. Just notice that unexpected conflicts are easier to come by and my sometimes bite you when you least expect it. Thus, you need to be more careful, and expect things to break more when you make changes.

Thanks,

--

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

Reply via email to