CSS 3 Module <== Test # ==>
W3C Selectors 50 of 140 of the static tests category
Testing Date Revision
Descendant combinator (ID #43b) 05-november-2001 1.1

This paragraph should be unstyled

This paragraph should be unstyled

This paragraph should have a green background

.white { background-color: transparent ! important; }
.green { background-color: lime; }
div.t1 p { background-color: red; }
 <div class="t1">
  <p class="white">This paragraph should be unstyled</p>
  <table>
   <tbody>
    <tr>
     <td>
      <p class="white">This paragraph should be unstyled</p>
     </td>
    </tr>
   </tbody>
  </table>
 </div>
 <table>
  <tbody>
   <tr>
    <td>
     <p class="green">This paragraph should have a green background</p>
    </td>
   </tr>
  </tbody>
 </table>