the image file is located in includes/templates/xmas_shop/images.
site is only on a local testing server at the moment so i can't show it live.
the image file is located in includes/templates/xmas_shop/images.
site is only on a local testing server at the moment so i can't show it live.
Are you sure the bg image is not displaying? "#wrapper" sounds like an element that will be filled with other elements, and if those have background colors, they will block the wrapper bg.
Definately not displaying.
I removed the entire stylesheet apart from the section that calls the image and it still doesn't display.
Reading the rule you posted more closely, the problem is obvious: you are using the property declarations wrong.
background-image: can only take a url for a value; all other values need to be in other background- properties, or else use the shorthand property background:
#wrapper{
background-image:url(../images/xmas_window_bg_top.jpg) left top no-repeat #f5f5f6;
background-color:transparent;
text-align:center;
}
#wrapper{
background:url(../images/xmas_window_bg_top.jpg) left top no-repeat #f5f5f6;
text-align:center;
}
If you want the bg transparent, remove the #f5f5f6 and it will default to transparent.
Thanks for the input on the CSS.
Sadly, tried that and still no background image.
I'm confused as to what is going on here.
I tried making a blank stylesheet with just the background info and it still will not display.
What is the absolute url of the image?
What does the page think it is?
#wrapper{
background:url(../images/xmas_window_bg_top.jpg)
}
Jonny
http://meshgraphics.com Where shapes become different shapes than the shapes they had been previously. Me do good ad copy 2
According to post 3, the image is in the right folder (assuming the current template folder is /xmas_shop/).
Post a snippet of your view source, starting with <body and continuing 20 lines or so past the line with id="wrapper".
Then post any stylesheet rules that refer to elements mentioned in the source snippet. That may give us something to go on. (The whole source and stylesheet would be hard to wade through unless absolutely necessary.) #wrapper is not a standard id, so indicates some customization.