Gossamer Forum
Home : General : Perl Programming :

Text Over Graphic

Quote Reply
Text Over Graphic
This topic was covered once, but I searched the archives and couldn't find the answer. What is the name of the mod that allows you to place text over a graphic (.gif) and where can I find documentation in its regard?
Thanks.
Quote Reply
Re: Text Over Graphic In reply to
If you are talking about putting a background image in a table... that's easy to do.

You can add the <TABLE BACKGROUND="" BGCOLOR=""> tags, and even change them in the <TD BACKGROUND="" BGCOLOR=""> tag as well.

Can create some interesting effects, but it's not really text-over-graphic, since the image will be tiled just as the <BODY BACKGROUND=""> image would be.

This works in Netscape and MSE, at least the past 2 or 3 most recent versions of each.

Scott


[This message has been edited by pugdog (edited July 16, 1999).]
Quote Reply
Re: Text Over Graphic In reply to
That sounds like a style sheet thing.

Style sheets allow you to over elements on each other.

Standard html doesn't -- it's linear.

Quote Reply
Re: Text Over Graphic In reply to
You can accomplish this without style sheets via tables. For example:

<table>
<tr>
<th background="image">text</th>
</tr>
</table>

Works with MSIE but, however, I believe this does not work with Netscape.

Dan Smile


[This message has been edited by dan (edited July 16, 1999).]
Quote Reply
Re: Text Over Graphic In reply to
 
Code:
<DIV id="whatever" style="position:absolute; left:50 top:32">

SAMPLE TEXT

</DIV>

This will place SAMPLE TEXT on top of everything on you web page at the position 50 pixels from the left and 32 pixels from the top. You can also specify negative pixels left:-50 top:-32 which will place SAMPLE TEXT behind the screen Smile
I know that this trick works with 4.x browsers, but not sure if it works with 3.x

Good luck.

Pasha

------------------
find.virtualave.net
Quote Reply
Re: Text Over Graphic In reply to
If you are looking for a perl module to do something like this check out GD.


------------------
Thanks,
Steven Bond
Webmaster for:
Search4info.com and Blur-online.com
"The real danger is not that computers will begin to think like men, but that men will begin to think like computers."
-Unknown