View Full Version : background trouble...


vicary
05-22-2003, 05:33 PM
Can someone show me what the exact code should be for adding a background? I tried Lissa's way and I couldn't get it to work.
I have my background image saved in my graphics folder on my harddrive so that I don't have to keep uploading to view my site. when I point to that folder, it won't show up. I work strictly within that folder to do all my work. Does the image have to be the entire size of your site? Or can it be an image tile? I am lost as how to get this image to be my whole background and my other images and text on top of it. When I inserted it as a regular image, it shoved all my other items downward on the page.
Here is part of the code to see if I have added it correctly:

body
{background-image: graphicsps/fade.jpg(fade.jpg);
background-color: #ffffff;
font-family: verdana, arial, lucida sans;
color: #000000;
letter-spacing: 1pt;
font-weight:normal;
font-size: 8pt;
text-align: center;
margin: 10px 0px 10px 0px;

scrollbar-face-color : #C00000;
scrollbar-highlight-color : #ffffff;
scrollbar-3dlight-color : #c00000; scrollbar-shadow-color : #ffffff;
scrollbar-darkshadow-color : #224278; scrollbar-track-color : #557BB9;
scrollbar-arrow-color : #ffffff; }

table, td {
font-size:8pt;
}

UL {list-style: disc}

h1{font-size: 12pt; color: #C00000; font-weight:bold; font-family:verdana;}
h2{font-size: 10pt; color: #C00000; font-weight:normal; font-family:verdana;}

-->
</style>
</head>



<body background image: "graphics/fade.jpg">
<br><br>
<center>
<table border="1" cellspacing="0" cellpadding="10"><tr><td><img src="graphicsps/blogo.jpg"></td><td><h1>Biznis Professional Series</h1></td></tr></table>
</center>

Of course, this code is not showing my background when I save it and click refresh.
Thanks for any help!

Liz
05-22-2003, 06:02 PM
Try changing the code <body background image: "graphics/fade.jpg">

to:

<body background="graphics/fade.jpg">

vicary
05-22-2003, 06:17 PM
Thanks a billion and one!