Source code
Revision control
Copy as Markdown
Other Tools
<title>text-decoration: underline test</title>
<div>
<span style="text-decoration:underline">This text should be underlined.</span>
<div style="float:left;width:10em">This text should not be underlined.</div>
<div style="clear:both; margin: 1px 2px 3px 4px; border: medium solid; padding: 6px 8px 10px 12px"><span style="text-decoration:underline">This text should be underlined.</span></div>
<div style="position:absolute; top: 400px;left:400px">This should not be underlined.</div>
<div><span style="text-decoration:underline">This should be underlined but </span><span style="display:inline-block">this should not<br>be underlined<br>on any line</span><span style="text-decoration:underline">.</span></div>
<div><span style="text-decoration:underline">This should be underlined but </span><span style="display:inline-table">this should not<br>be underlined<br>on any line</span><span style="text-decoration:underline">.</span></div>