Ray did this

Ray's Test Page - Positioning text on top of an image

 

 

 

 

The image and text above are separate elements. By using absolute positioning, the text appears on top of the image. The code to do this is ...

<img border="0" src="tile079.jpg" width="128" height="128" style="position: absolute; top: 63; left: 47">

<div style="position: absolute; top: 118; left: 60; width:105; height:24"><font size="4" color="#FF0000"><b>Ray did this</b></font></div>

This page last modified 22nd March 2004


GoStats stats counter