NetworkTown.Net
Account Closed
- Impact
- 2
Need code that you can put text over a image like say i had this image: http://www.namepros.com/images/npblogo2.gif and i wanted to put text over it what is the html or php for that
i dont get what u want....rediting image or put a label?ewirehosting said:Need code that you can put text over a image like say i had this image: http://www.namepros.com/images/npblogo2.gif and i wanted to put text over it what is the html or php for that
<HTML>
<img border="0" src="here the path" alt="Here the text u want to label" width="155" height="247">
<html>
<?php
#### Generated by Html to PHP converter By Disipal Site (www.disipal.net) ####
echo"<HTML>"
. "<img border=\"0\" src=\"here the path\" alt=\"Here the text u want to label\" width=\"155\" height=\"247\">"
. "<html>"
."";
?>
<?
$Copyright = "Copyright, 2005 - www.yoursite.com";
$image = "http://www.namepros.com/images/npblogo2.gif";
$im = imagecreatefromgif($image);
$sc = ImageColorAllocate ($im, 0, 0, 0);
ImageStringup($im, 2, 255, 70, "Do Not Copy", $sc);
ImageString($im, 3, 5, 30, $Copyright, $sc);
header("Content-Type: image/png");
Imagegif($im,'',100);
ImageDestroy ($im);
?>
ewirehosting said:dont matter JFS has coded the thing i needed now you people did not really understant whjat i was saying
tgo said:Why use scripting?
Just do this
<TABLE>
<TR>
<TD style="background-image:yourimage.jpg">
Your Text here
</TD>
</TR>
</TABLE>
Can also do this with divs as well.


