<!DOCTYPE html>
<div style="text-decoration: underline">
<table>
<tr>
<td>This should be underlined</td>
</tr>
</table>
</div>
<!DOCTYPE html>
<div style="text-decoration: underline">
<table>
<tr>
<td>This should be underlined</td>
</tr>
</table>
</div>