Christian Kirchhoff wrote: > Geoffrey Hoffman schrieb: >> Or, conversely, why doesn't a class' CSS override a parent container >> ID's CSS? It seems like it should. >> >> Tia, >> Geoff
>> > Hello, > > you might consider looking at this page: > http://www.w3.org/TR/REC-CSS2/cascade.html#specificity > > The id selector is a higher specifity and the rule attached to it is > therefore chosen in the 1st example. > > Regards, > > Christian Or check out this excellent explanation by Andy Clarke: http://www.stuffandnonsense.co.uk/archives/css_specificity_wars.html Chris ______________________________________________________________________ css-discuss [EMAIL PROTECTED] 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/
