View Full Version : how to write a test on the image

12-01-2009, 04:44 AM
how to write a test on the image

is there any way to put a test on the image ? for example , this code

<table width="80%"> <tr> <td align="center" ><img src="10000000.png" width="100%" height="60px"/> ><span style="overflow:hidden"> test </span></td></tr></table>

i want to put the test ( here is test ) on the image .

how can do it so ?


12-01-2009, 04:54 AM
Set it as the background image, for example

<div style="background-image:url('10000000.png');width:100px;height:100px">Text here is on the image</div>

EDIT: Make sure to define width and height in the style tags

12-01-2009, 09:14 AM
Also for the test, you may need to define to position & top properties for the <Span>

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum