MisturMan
29-01-2010, 06:35 PM
Hey. I need to set my background position and it's pretty easy if I make sure the background is unrepeated, however I need the background to "repeat-y".
Every time I set the position it just springs to the top, is there any efficient way of repeating a background and setting its position?
e.g:
I want to set the position of the background to 50px down with:
background-position: 0 50px;
If I now change background-repeat to:
background-repeat: repeat-y;
it then goes across the whole div, whereas I need to to repeat from 50px downwards.
Every time I set the position it just springs to the top, is there any efficient way of repeating a background and setting its position?
e.g:
I want to set the position of the background to 50px down with:
background-position: 0 50px;
If I now change background-repeat to:
background-repeat: repeat-y;
it then goes across the whole div, whereas I need to to repeat from 50px downwards.