<html> <body> <p style="border-bottom: 1px solid red"> Nothing should appear below the red line. </p> <table style="display:none">xxx</table> <table style="display:none;float:left">xxx</table> <table style="display:none;position:absolute">xxx</table> <div style="display:none">xxx</div> <div style="display:none;float:right">xxx</div> <div style="display:none;position:absolute">xxx</div> <span style="display:none">xxx</span> <span style="display:none; float:right">xxx</span> <span style="display:none;position:absolute">xxx</span> </body> </html>