I can't get why a position relative div at the bottom of my page leaves, if it goes over the height of the screen, white space underneath. I have a background-color gradient as bg so i guess i can't replace it with an image. I can't know the height of the div because i have some php printing inside of it and I can't know how height it will be.
<html style="min-height:100%;">
<head></head>
<body style="background: linear-gradient(to bottom, #6699ff -13%, #00ffff 133%) repeat-x;">
<?php
print("<br><div></div><div style=\"position:relative;max-width:50%;height:inherit;margin:20px auto;\"><div style=\"position:absolute;top:0;left:0;\" class=\"usage\">Istruzioni:<br>");
Some php printing inside the div
print("</div><div style=\"position:absolute;top:0;right:0;\" class=\"usage\">Stringa in ingresso: <br> More printing
</div></div>");
?>
</body>
</html>
Any tip?