PDA

View Full Version : background picture


pastel
04-10-2003, 01:37 PM
i would like to know the code to be able to put a picture as a background i know it s look like

<body background = img src="file:///C|/My Documents/blue ciel water.jpg" width="100" height="100" border="0"><center>

and i try everything but nothing work where my error please it must be realy simple

thanks
and by the way good job everyone for your site and forum

Zero Angel
04-10-2003, 01:51 PM
Try using a relative path instead. Relative meaning that its relative to where the HTML file is saved.

For example, if your HTML file is saved in the same folder as your background image, then you would put:

<body background="blue ciel water.jpg">

if the picture is in a sub-folder called images, you would put:

<body background="images/blue ciel water.jpg">

If you are going to put this image on your website, it is a good idea NOT to use spaces, but underscores instead. For example, try renaming your file as blue_ciel_water.jpg.

Hope this helps,
Zero Angel

P.S.: If you dont understand completely, i can help you some more.

pastel
04-10-2003, 02:03 PM
THANKS YOU

It work i know that was something simple but sometime those are to simple you don't thing

thanks alot

Zero Angel
04-10-2003, 03:39 PM
You're welcome ^_^