
Originally Posted by
runnerjp
Code:
}
#background {
width: 100%;
height: 100%;
background:url(http://www.runnerselite.com/images/linedown.jpg);
background-repeat: repeat-y;
background-position:fixed;
left: 25%;
top: 30%;
}
ok my image is repeating but i cant seem to position it on the page how comes??
top and left only work for positioning objects with position: absolute or position: relative. What you want is:
Code:
background-position: 25% 30%;
and (assuming you don't want the background to scroll)
Code:
background-attachment: fixed;
instead of
Code:
background-position: fixed;
Bookmarks