Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting an image as background?

Status
Not open for further replies.

littleperl

Technical User
Jan 31, 2008
1
US
Hi there -

I'm completely new to Perl and was wondering if it is possible to set an image as a background (much like you do a color using <BODY BACKGROUND=black>). I can insert an image just fine, but my text does not stay on top of it. Rather, it just gets shoved to the bottom. Any suggestions (the simpler the better).
 
I assume you mean for a web page. You can just point it to a web page but you need to put the images somewhere that can be read.. SO if you script is in /cgi-bin/ you put the image in the regular folder (or htdocs) and then you can say <body background=/image.jpg> (don't forget the slash!) or put the full path <body background=

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top