Page 1 of 1

Centering background image possible?

Posted: Thu Mar 25, 2010 9:51 pm
by i10179
Hello there,
I would like to know if it is possible to center a background image? The actual setting is that it repeats itself from the left to the right, I would like to start to repeat from the middle.. Hope I did express myself intelligible. The code goes like this:

Code: Select all

html, body {
	color: #536482;
	background-color: #FFFFFF;
	background-image: url("{T_THEME_PATH}/images/planetstyles/bg.png");}
Cheers

Re: Centering background image possible?

Posted: Thu Mar 25, 2010 10:05 pm
by PlanetStyles.net
If you've got a repeating background image, adding a background position won't have any affect.

Seeing your board / background image will give us a clearer image of what you're trying to achieve though. :)

Re: Centering background image possible?

Posted: Thu Mar 25, 2010 11:33 pm
by i10179
Sure, goto http://www.****-***.**. I am working on a Board for a Boardgame called Blood Bowl. However, the actual background I am using is nice.. But I did this [url=http://********-***.**/phpbb3-bbl/styles/Star2.0/theme/images/planetstyles/bg_rasen.png]here[/url] with Photoshop and would prefair it more.

Btw. I am not done with the complete Design hehe.

Re: Centering background image possible?

Posted: Fri Mar 26, 2010 12:02 am
by PlanetStyles.net
Hmm I see. Like I said, even if you did add background-position: center; it wouldn't make a blind bit of difference, it would look just the same as if you just replaced your current background image. :|

Re: Centering background image possible?

Posted: Fri Mar 26, 2010 12:14 am
by i10179
Hmm thanks for the advice Planet Styles. I am gonna work on something else. ;)