PDA

View Full Version : background repeat code


Winterworks
12-20-2008, 02:06 PM
Currently, my site has a background, which fades into black (well, it should). But it's behind all of the categories and sections, to the right (I want it centered), but then, beside it, the same background image is there again.

#000000 url(images/styles/vbblue/misc/paintbackground.gif)

That's what I have in the CSS Area called "Body" in the field "Background". (in Style Manager)

It shouldn't repeat the image... Why is it repeating it though? I want it to only display once.

Also, how can I center the bg image?

CAMS
12-20-2008, 02:51 PM
add

background-position: top center;
background-repeat: no-repeat

#000000 url(images/styles/vbblue/misc/paintbackground.gif) no-repeat top center

Winterworks
12-20-2008, 03:02 PM
thank you so much.