MkIII_Supra
06-18-2005, 08:27 PM
I have been teaching myself CSS the last couple of weeks anbd have come to a stumper for me.
I have an image that I lock to the background so I can scroll text over it,
<html>
<head>
<style type="text/css">
body
{
background-image:
url('bgdesert.jpg') -- This is the area of question!?
}
</style>
</head>
<body>
</body>
</html>
Okay that is easy enough and I have it figured out. But the problem (as I see it) is the image has to be in the same directory as the html file. I have a folder specifically for all my CSS background that I want to use but I can't seem to get it to work. is what I want possible?
<html>
<head>
<style type="text/css">
body
{
background-image:
url('CSSIMFD/bgdesert.jpg') -- This is what I am trying to do...
}
</style>
</head>
<body>
</body>
</html>
Again as always thanks for the help!
I have an image that I lock to the background so I can scroll text over it,
<html>
<head>
<style type="text/css">
body
{
background-image:
url('bgdesert.jpg') -- This is the area of question!?
}
</style>
</head>
<body>
</body>
</html>
Okay that is easy enough and I have it figured out. But the problem (as I see it) is the image has to be in the same directory as the html file. I have a folder specifically for all my CSS background that I want to use but I can't seem to get it to work. is what I want possible?
<html>
<head>
<style type="text/css">
body
{
background-image:
url('CSSIMFD/bgdesert.jpg') -- This is what I am trying to do...
}
</style>
</head>
<body>
</body>
</html>
Again as always thanks for the help!