PDA

View Full Version : CSS Background image



dips1188
01-26-2007, 01:51 PM
Hi there, I wonder if anyone is having the same problems as I am?

I have designed a website based around a non-bluevoda template.(http://www.touchstone-solutions.com) Part of the template design (using CSS) is that elements on the page have certain specific background images , black to grey horizonal fade on the sides, 90% transparent images on the top banner etc.

Now I have uploaded the site and it all works okay accept for these images that just don't show. Instead there are solid colours and no transparent image etc.

At first I thought that it was the browser but having tested it on Opera 9.10, Firefox 2.0 and Internet Explorer 7 it is still the same. (Okay IE 7 shows a problem with one of the pages but I can sort that out...I think). I have checked all of the code and the default.css but I can't see whats wrong.

On the error page under CPanel it seems to indicate that the images its looking for are on my system and not the ones on the server. Bearing in mind that this is my first, half-decent website and that I am learning as I go along I need someone to point me in the right direction.

Anyone know what I am doing wrong?

Thanks for anything in advance


Derek

Vasili
01-28-2007, 04:22 AM
Simply update your server image files via FTP (which will overwrite/swap) to satisfy the source demands.

dips1188
01-28-2007, 12:56 PM
Ahhh...I thought it would be something simple - a little like me! I will give it a try and let you know the results.


Thanks for the reply.


Regards

Derek

dips1188
01-29-2007, 12:29 PM
Hi again,

I uploaded the images again. No joy. I deleted them first from the server and uploaded them afresh...no joy.

I have included the code from the default.css files for one of the elements. Perhaps someone can point out if it is wrong. Otherwise I will I have to accept that these images just won't show?

Code from the default css file;

blockquote {
margin : 6px 0;
background : transparent url(quote.gif); no-repeat scroll 0% 50%;
color : rgb(85, 85, 85);
display : block;
font-family : "Trebuchet MS", serif;
font-style : normal;
font-variant : normal;
font-weight : bold;
font-size : 1.2em;
line-height : normal;
font-size-adjust : none;
font-stretch : normal;
padding-left : 28px;
}

Thanks for any assistance.

regards


Derek

dips1188
01-31-2007, 03:35 PM
Hi there,

Don't worry I have fixed the problem. Issues with the .css files as it turned out. Went back and used the original one and it worked fine. Obvious when you think about it.


Thanks anyway.

Derek

j0sh710
02-16-2007, 12:42 AM
don't worry we ALL do it.