blob: 1c857a439e09edb12abc21241e5633cb0c5725ca [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>:empty pseudo-class and empty elements</title>
<style type="text/css">
address:empty { background: lime; }
address { background: red; margin: 0; height: 1em; }
.text { margin: -1em 0 0 0; }
</style>
<link rel="first" href="css3-modsel-1.html" title="Groups of selectors">
<link rel="prev" href="css3-modsel-149.html" title=":empty pseudo-class and empty elements">
<link rel="next" href="css3-modsel-150.html" title=":empty pseudo-class and XML/SGML constructs">
<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>
<address></address>
<div class="text">This line should have a green background.</div>
</body>
</html>