I wanted to have an image floating over the text of a page. I knew about
position:absolute and that worked, until the user resized the page and then the image moved out of position. So I tried
position:relative but that left white space on the page the size of the image. A bit of googling found the reference link.
<div style="color:#c0c0c0;position:relative;">
<div style="color:#000000;position:absolute;left:460px;top:80px;">
<img src="registernow.png" alt="" border="0">
</div>
</div>
Basically you put the
absolute div within a
relative positioned div. Works a treat.