CSS 3 Module <== Test # ==>
W3C Selectors 102 of 182
Testing Date Revision
NEGATED :last-child pseudo-class (ID #78b) 2004-03-03 1.2
green cell green cell 1.3
green cell green cell 2.3
green cell green cell 3.3

This paragraph should be unstyled.

.green { background-color : lime ! important }
.t1 td:not(:last-child) { background-color : red }
p > *:not(:last-child) { background-color : red }
table.t1 td { border : thin black solid }
 <div>
  <table class="t1" border="1">
   <tr>
    <td class="green">green cell</td>
    <td class="green">green cell</td>
    <td>1.3</td>
   </tr>
   <tr>
    <td class="green">green cell</td>
    <td class="green">green cell</td>
    <td>2.3</td>
   </tr>
   <tr>
    <td class="green">green cell</td>
    <td class="green">green cell</td>
    <td>3.3</td>
   </tr>
  </table>
 </div>
 <p>This <span>paragraph should</span> be unstyled.</p>