PDA

View Full Version : text on top of the image



kwing
October 7th, 2004, 12:06 PM
hei guyz i have a problem.. how do i place a text on top of an image? im wonderin how to make it... im having a hard time working with tables but i think its not the <table> tag... pls help...
and also if anyone knows how to do it pls tell me...thanks thanks thanks!!! :P :P :P :P :P

blindlizard
October 7th, 2004, 01:56 PM
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>HERE IS MY TEXT</td>
</tr>
<tr>
<td><img src=HERE IS MY IMAGE></td>
</tr>
</table>

[m]
October 7th, 2004, 11:08 PM
It is CSS. Look it up, good place to start is w3schools.com.



<div style="position:absolute; width:100px; height: 100px; left: 50px; top: 300px;">some text here</div>


Edit the width, height, left and top values to your liking.

amitgeorge
October 8th, 2004, 01:12 AM
or make a table with the same size height and width as the image and put the image as the table or td background. now the text in it will be visible over the image.