I moved this question to a new thread
+3
A:
I think all you need to do is change the percentage 50%
to center
Jimmy Stenke
2010-07-17 14:44:01
Yep. And you can use "background: #EDEDED url(../images/bg-y.png) repeat-y scroll center top;" if you want to remove any ambiguity from the digits in the property (I know I always mix up whether the X or the Y axis goes first).
hollsk
2010-07-17 14:47:48
`center` means `50%` according to [CSS2.1 spec on background-position](http://www.w3.org/TR/CSS2/colors.html#propdef-background-position)`center (is) Equivalent to '50%' for the horizontal position if it is not otherwise given, or '50%' for the vertical position if it is.`
Felipe Alsacreations
2010-07-17 14:57:11
please check out the live version at http://www.theprizeshark.com/ to see what it looks like.
TwinPeaksMall
2010-07-17 15:16:33
A:
w3schools site is full of usefull information.
http://www.w3schools.com/css/pr_background-position.asp
body{
background: #EDEDED url(../images/bg-y.png) repeat-y scroll center top;
font-size:12px;
font-family:'Lucida Grande', 'Lucida Sans Unicode', Tahoma, Arial, san-serif;
color:#000000;
}
GaVrA
2010-07-17 14:50:14
@Felipe Alsacreations well i meant in general, both w3.org and w3schools.com are full of usefull information. :) But i have edited my answer, now i think its ok. ;)
GaVrA
2010-07-17 15:10:30
+1 w3schools tricked me into thinking there is an association for years.
Christopher Altman
2010-07-17 15:16:33