[advanced search]
Results from the most recent live auction are here.
20 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming > CODE
User Name
Password

Old 11-10-2005, 01:32 PM   · #1
NetworkTown.Net
Senior Member
 
Name: Soon....
Location: United Kingdom
Trader Rating: (27)
Join Date: Oct 2005
Posts: 1,554
NP$: 49.74 (Donate)
NetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really nice
Need code that you can put text over a image

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


Please register or log-in into NamePros to hide ads
NetworkTown.Net is offline   Reply With Quote
Old 11-10-2005, 02:36 PM   · #2
gonchiweb
NamePros Member
 
Trader Rating: (0)
Join Date: Nov 2005
Posts: 26
NP$: 34.00 (Donate)
gonchiweb is an unknown quantity at this point
Originally Posted by ewirehosting
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?
i think you meant this:
Code:
<HTML> <img border="0" src="here the path" alt="Here the text u want to label" width="155" height="247"> <html>

Code:
<?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>" .""; ?>
gonchiweb is offline   Reply With Quote
Old 11-10-2005, 07:11 PM   · #3
sdsinc
Law and disorder
 
sdsinc's Avatar
 
Name: Kate
Location: Expat
Trader Rating: (57)
Join Date: Aug 2005
Posts: 5,294
NP$: 1121.11 (Donate)
sdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond reputesdsinc has a reputation beyond repute
Third World Education Find Marrow Donors! Find Marrow Donors! Find Marrow Donors! Find Marrow Donors! Animal Rescue Animal Cruelty AIDS/HIV
You should also use the TITLE tag. The ALT tag was not designed to serve as a tooltip in the first place. It's just in case the image cannot be loaded so there is a caption, and for text-only browsers.


http://www.htmlhelp.com/feature/art3.htm
__________________
Now on sale: BudgetLettings.com
sdsinc is offline   Reply With Quote
Old 11-11-2005, 11:25 AM   · #4
NetworkTown.Net
Senior Member
 
Name: Soon....
Location: United Kingdom
Trader Rating: (27)
Join Date: Oct 2005
Posts: 1,554
NP$: 49.74 (Donate)
NetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really nice
no, i ment like you are reading my post yes, in the background there is blue yes insted of the blue i want an image
NetworkTown.Net is offline   Reply With Quote
Old 11-11-2005, 12:51 PM   · #5
xlusive
Pro Coder & Designer
 
xlusive's Avatar
 
Name: Karim
Location: Netherlands
Trader Rating: (37)
Join Date: Apr 2005
Posts: 962
NP$: 62.00 (Donate)
xlusive is just really nicexlusive is just really nicexlusive is just really nicexlusive is just really nicexlusive is just really nice
oh i think he means using GD ?
__________________
Capix
Dragonball RPG
Mamuzin
xlusive is offline   Reply With Quote
Old 11-11-2005, 01:29 PM   · #6
maximum
MyDomains.net
 
maximum's Avatar
 
Name: -Unknown-
Location: Inside your head...
Trader Rating: (15)
Join Date: Oct 2005
Posts: 804
NP$: 42.70 (Donate)
maximum has much to be proud ofmaximum has much to be proud ofmaximum has much to be proud ofmaximum has much to be proud ofmaximum has much to be proud ofmaximum has much to be proud ofmaximum has much to be proud ofmaximum has much to be proud ofmaximum has much to be proud of
Child Abuse Special Olympics Save a Life Baby Health Autism
The following is the very basics. I'll let you go to PHP.net to get more detailed info on the individual functions. The image the below code produces can me seen http://coreymail.com/namepros/namepros.png

PHP Code:
<?
$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);
?>


Need more help, or a bit fancier, let me know
__________________
Support the Children's Miracle Network hospitals
■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□
Domains For Sale list (many multi-TLD and/or related-term package-deals): MyDomains.net
maximum is offline  
  Reply With Quote
Old 11-14-2005, 12:42 PM   · #7
NetworkTown.Net
Senior Member
 
Name: Soon....
Location: United Kingdom
Trader Rating: (27)
Join Date: Oct 2005
Posts: 1,554
NP$: 49.74 (Donate)
NetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really niceNetworkTown.Net is just really nice
dont matter JFS has coded the thing i needed now you people did not really understant whjat i was saying
NetworkTown.Net is offline   Reply With Quote
Old 11-14-2005, 08:18 PM   · #8
maximum
MyDomains.net
 
maximum's Avatar
 
Name: -Unknown-
Location: Inside your head...
Trader Rating: (15)
Join Date: Oct 2005
Posts: 804
NP$: 42.70 (Donate)
maximum has much to be proud ofmaximum has much to be proud ofmaximum has much to be proud ofmaximum has much to be proud ofmaximum has much to be proud ofmaximum has much to be proud ofmaximum has much to be proud ofmaximum has much to be proud ofmaximum has much to be proud of
Child Abuse Special Olympics Save a Life Baby Health Autism
Originally Posted by ewirehosting
dont matter JFS has coded the thing i needed now you people did not really understant whjat i was saying



__________________
Support the Children's Miracle Network hospitals
■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□■□
Domains For Sale list (many multi-TLD and/or related-term package-deals): MyDomains.net
maximum is offline  
  Reply With Quote
Old 11-15-2005, 04:07 AM   · #9
JFS
DNOA Member
 
JFS's Avatar
 
Name: Joćo Fernandes Silva
Location: Portugal
Trader Rating: (29)
Join Date: Oct 2005
Posts: 698
NP$: 14.95 (Donate)
JFS is just really niceJFS is just really niceJFS is just really niceJFS is just really niceJFS is just really nice
he just wanted the layout coded
__________________
Joćo Fernandes Silva
Your Proxy Host - Currently not acepting new customers - for custom packages contact me
JFS is offline   Reply With Quote
Old 11-28-2005, 09:36 AM   · #10
tgo
NamePros Regular
 
Trader Rating: (3)
Join Date: Aug 2005
Posts: 317
NP$: 102.00 (Donate)
tgo is on a distinguished road
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.
tgo is offline   Reply With Quote
Old 11-28-2005, 10:04 AM   · #11
wildbest
Account Closed
 
Trader Rating: (0)
Join Date: Nov 2005
Posts: 166
NP$: 166.00 (Donate)
wildbest is on a distinguished road
Of course, why would you need a "code"? Just create a table with a single or more rows and cells. Just put the image as a table/cell background and type whatever text you want as table data.
wildbest is offline   Reply With Quote
Old 12-16-2005, 10:19 PM   · #12
ihosty
NamePros Regular
 
Trader Rating: (7)
Join Date: Nov 2004
Posts: 338
NP$: 146.45 (Donate)
ihosty is a jewel in the roughihosty is a jewel in the roughihosty is a jewel in the rough
Originally Posted by tgo
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.




yeah this is all you need man, dont mixed into that scripting crap for what u r looking to do.
ihosty is offline   Reply With Quote
Old 12-17-2005, 01:03 AM   · #13
-Nick-
I'll do it
 
-Nick-'s Avatar
 
Name: Keral. Patel.
Location: India
Trader Rating: (100)
Join Date: Dec 2005
Posts: 5,555
NP$: 11000.05 (Donate)
-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute
Member of the Month
September 2007 Adoption
Why don't you put the image in background tag and then just put the text on it.

It will acheive the efect that you want.
__________________
-Nick- is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Greatest Image Gallery Tutorial Ever Wybe Webmaster Tutorials 5 12-20-2005 10:51 AM
What Keywords? spy69 Search Engines 5 06-28-2005 08:05 PM
Why can't I get clicks majinbuu1023 Google Adsense 43 04-15-2005 09:24 PM
HTML Part I [For the beginners Mystic Webmaster Tutorials 0 03-29-2005 06:39 AM

Site Sponsors
YUPPADS Proof is in the Parking Buy Flash Arcade Game Script
Advertise your business at NamePros
All times are GMT -7. The time now is 05:01 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0