lead_diet
13 Apr 2006, 07:42 PM
I'm having a slight problem with my CSS backgrounds in Dreamweaver. I'm using Dreamweaver MX and my background URLs are not working. I have the image's URL listed like so:
body {
background-image: url ('MainImages/back.jpg');
background-repeat: repeat;
}
I have it as a relative link because I don't want the absolute link (for my hard drive) to be used when I inevitably move the site onto the Internet in the future, but I want to be able to preview my work as I go locally. I have the capital letters in there because I couldn't remember if CSS was case sensitive or not. Is it a problem with viewing my code locally or am I missing a piece of my CSS code for the background image to be displayed properly?
body {
background-image: url ('MainImages/back.jpg');
background-repeat: repeat;
}
I have it as a relative link because I don't want the absolute link (for my hard drive) to be used when I inevitably move the site onto the Internet in the future, but I want to be able to preview my work as I go locally. I have the capital letters in there because I couldn't remember if CSS was case sensitive or not. Is it a problem with viewing my code locally or am I missing a piece of my CSS code for the background image to be displayed properly?