Hi,
I have a problem with the following style declarations with regard to
specificity:
li:hover table #one{background: red;} /* 0,1,0,2 */
li li:hover #all{background: blue;} /* 0,1,0,2 */
The comments at the end of the declarations are my understanding of the
specificity. The first style applies to a <td> element within a table, and the
second applies to a <tr> element within the same table. Since the specificity
is the same for both I expected the table row to have a background colour of
blue since it is the last statement in the style declaration. For some reason
the table row is blue but the single <td> element is still red, (<td> is an
element within <tr>). What have I missed?
Thanks
Chris
______________________________________________________________________
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/