Chris wrote: > Hi, apologies for another post but I think a simpler example below is what is > needed. > I have obviously failed to understand a crucial aspect of CSS which deems > that the table row style declaration does not overwrite the previous style > for a specific cell within that row. Please enlighten me!
Hey Chris, Specificity only comes into play when assigning more than one rule to the same element. In your example, you assigned a colour to a tr and a different colour to a td. No matter how specific you make the tr rule, even if you use !important, it won't be inherited by #one because #one has it's own declaration. If, on the other hand, you were doing the following: table #one {background: purple;} #one {background: blue;} you'll find that #one is purple, because the first rule is more specific. Hope this helps, Jesse Skinner www.thefutureoftheweb.com ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/