CSS background not working...

TheLivingDead

New Member
I'm using DreamWeaver CS 4 to design a site, and on my local view I can see the background image.... but When I launch online It doesn't show up..
any ideas?:confused:
 

dzwestwindsor

New Member
Could you post the code here? Just go to code view and copy the area where the background should display, and also copy the CSS file style for the background

Thanks
 

greenlightning

New Member
It's likely that you links in your CSS might be pointing to a local file on your computer but not a relative link to your site. You might also not have the image uploaded to your hosting directory.
 

TheLivingDead

New Member
Could you post the code here? Just go to code view and copy the area where the background should display, and also copy the CSS file style for the background

Thanks


lilnk style sheet here:

<link href="body.css" rel="stylesheet" type="text/css" />

css:

body {

font-family: "Times New Roman", Times, serif;
background-attachment: scroll;
background-image: url(/images/bg1.png);
background-repeat: no-repeat;
}

... OMG!!!! lol, i just realized the file path for the background should be 'images/bg1.png'... i had included and extra slash!!! ARGHH!!!!

thanks to everyone for the suggestions!!! :0)
 

dzwestwindsor

New Member
I don't want to get too off topic (in fact it would be better to start a new thread regarding this) but I have one suggestion:

The graphics are a little bit heavy. It took 15 seconds for everything to load, and I have high speed internet. Try optimizing your photos so it takes less space. You might need to start a new thread if you need help with that
 
Top