background image

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

rrlr420

Thread Starter
Joined
Sep 26, 2004
Messages
167
Hi, i am working on a web page for a friend and i am trying to figure out how to put an image in the background, with the rest of the page in the foreground. Kind of like the wallpaper on your desktop. Any help would be appreciated.
 
Joined
Aug 6, 2003
Messages
385
I am not sure exactly, what your asking. If you are looking to use an image for a background, the simple answer is to use the following html code in your body tag -

<body background="imagename.jpg">

( replacing imagename.jpg with your own of course, don't forget the file extension may differ )

If you are looking to have the image static ( does not move) then add this to the end of that code

<body background="imagename.jpg" bgproperties="fixed">

I hope that helps.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top