|
EDIT: Some browsers do not support CSS and this will not function in them
<html> <head> <title> Tri's Pimp Page </title> <link rel="stylesheet" type="text/css" href="TPP.css"> </head>
now put TPP.css next to it, open it up with a text editor and type
body { background: #hexadecimal url('X') no-repeat fixed center; }
hexadecimal is a hexadecimal number from 000000 (black) to FFFFFF (white). This is the color behind any transparent parts of the image. The first two numbers are red, the next two green and the last two blue
Remove no-repeat if you want it to wrap, remove fixed if you do not want a watermark, and if it tiles center shouldn't do anything
X is the filename of your image. If your image is in a folder "img" and that folder is right next to the web page you want this image on, you would put url('img/ImageName.ext');
Now just put that <link> tag in your header after the title, for every page that has that as the body's background image, and you can change the lot of them by changing that one CSS file
This post has been edited by Draco Icebane on Jan 24 2006, 04:46 PM
|