cancel
Showing results for 
Search instead for 
Did you mean: 

CSS Background Image

ABD1981
Member

Hi,

 

Hope someone can help, it's probably an easy solution but i'm pulling my hair out here!

 

I've just finished uploading a site i've designed, and for some reason, none of my background images specified in CSS are showing.

 

The code has worked fine on my testing server, but as soon as it hits the BT business server, it doesn't want to know.

 

I'm referencing the images like this...

 

#item-news {

background-image:url(../images/news-b.jpg);

}

 

The CSS is in a seperate folder called 'CSS' and the images are in a seperate folder 'images' in the root directory.

 

Is this a BT thing or am am I just being dense?

 

Thanks in advance!

 

Ian

1 REPLY 1

ABD1981
Member

Sorry all - solved it, just created an images folder in the css directory called images, and threw the relevant pics in there.

 

Then changed the code to:

 

#item-news {

background-image:url(images/news-b.jpg);

}

 

Not ideal but it works.