blob: a60688234e56dc01ed3b7022bc1ecb57701a09c8 [file] [log] [blame]
<html>
<head>
<style>
.parent { text-decoration: underline; position: relative; }
.static { position: static; }
.relative { position: relative; }
.float { float: right; }
.abspos { position: absolute; top: 4em; }
.fixed { position: fixed; top: 6em; }
</style>
</head>
<body>
<div class="parent">
<div class="static">The static-positioned text should be underlined.</div>
<div class="relative">The relative-positioned text should be underlined.</div>
<div class="float">The floating-positioned text should NOT be underlined.</div>
<div class="abspos">The absolutely-positioned text should NOT be underlined.</div>
<div class="fixed">The fixed-positioned text should NOT be underlined.</div>
</div>
</body>
</html>