blob: 386f36fd7230eb1cd11e0bc3a7fb456c62840827 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Descendant combinator</title>
<style type="text/css">.white { background-color: transparent ! important; }
.red { background-color: red; }
div.t1 p { background-color: lime; }</style>
<link rel="first" href="css3-modsel-1.html" title="Groups of selectors">
<link rel="prev" href="css3-modsel-42a.html" title=":after pseudo-element">
<link rel="next" href="css3-modsel-43b.html" title="Descendant combinator">
<link rel="last" href="css3-modsel-d4.html" title="Dynamic updating of :first-child and :last-child">
<link rel="up" href="./index.html">
<link rel="top" href="../../index.html">
</head>
<body>
<div class="t1">
<p class="red">This paragraph should have a green background</p>
<table>
<tbody>
<tr>
<td>
<p class="red">This paragraph should have a green background</p>
</td>
</tr>
</tbody>
</table>
</div>
<table>
<tbody>
<tr>
<td>
<p class="white">This paragraph should be unstyled.</p>
</td>
</tr>
</tbody>
</table>
</body>
</html>