Background image using a Style tag

liunx

Guest
I'm trying to get a background image on my page using background-image: and I'm having a hard time referencing the location on my hosting server. The image has been uploaded to this server folder:
D:\Lotus\Domino\Data\domino\html\michael\kids\images\

and my style code says this: <style type="text/css">

BODY{
background-image :
url(file:///D:/Lotus/Domino/Data/domino/html/michael/kids/images/background.jpg);
background-repeat: no-repeat;
background-color : "#697299";
}
</style>


But I'm only getting the backgound COLOR, not image. Am I using the wrong source code?You only have to reference the file relative to the page, so for example if the page is in the folder Data you would only have to do this:

background-image:url(domino/html/michael/kids/images/background.jpg);
 
Back
Top