bigmedia
04-03-2008, 01:33 PM
Hi,
I am having my first crack at css, and I have created a layout I'm happy with, I have an externally referenced CSS sheet and through the CSS I am pulling in a background image. Everything works fine when I am working off my hard drive, when I upload to my ftp server, the image wont load but the rest of the css elements (text formatting, etc..) will load just fine. When I type in the url for the image into my browser, I can load it, but when I load my homepage, nothing. I'm really confused now. I've tried everything, and now I dont even know what worked and what didnt! I cant even get it to work on my hard drive anymore! :S
This is from the css sheet:
body {
background: #FFFFFF url("background2.png") no-repeat 50% 5;
background-attachment: scroll;
margin: 0;
padding: 0;
text-align: center;
}
This is from the html:
<link rel="stylesheet" type="text/css" href="big.css"/>
The html, the css, and the image are in the root folder on my ftp site.
Any ideas?
I am having my first crack at css, and I have created a layout I'm happy with, I have an externally referenced CSS sheet and through the CSS I am pulling in a background image. Everything works fine when I am working off my hard drive, when I upload to my ftp server, the image wont load but the rest of the css elements (text formatting, etc..) will load just fine. When I type in the url for the image into my browser, I can load it, but when I load my homepage, nothing. I'm really confused now. I've tried everything, and now I dont even know what worked and what didnt! I cant even get it to work on my hard drive anymore! :S
This is from the css sheet:
body {
background: #FFFFFF url("background2.png") no-repeat 50% 5;
background-attachment: scroll;
margin: 0;
padding: 0;
text-align: center;
}
This is from the html:
<link rel="stylesheet" type="text/css" href="big.css"/>
The html, the css, and the image are in the root folder on my ftp site.
Any ideas?