<!DOCTYPE html>
<div style="position: absolute; top: 50px;">
  This text should not inherit text-decoration from its parent, and should therefore not be underlined. 
  <p>
  <a href="www.example.com" style="text-decoration: none;">As the child of an absolutely positioned block, this link should not be underlined</a>
</div>
<a href="www.example.com">As the child of a statically positioned block, this link should be underlined</a>
