
Untitled
By: a guest on
Jun 26th, 2012 | syntax:
None | size: 0.51 KB | hits: 8 | expires: Never
CSS: Possible to do position:fixed offset center div?
background: url(foo) top center repeat;
position: fixed;
width: 100%;
height: 100%;
#photo_bg{
background: url(foo.jpg) top right no-repeat;
overflow: visible;
position: fixed;
right: 50%;
top: 0;
width: 1014px;
z-index: 2;
}
#stripes {
background: url("images/bg_striped_repeat.jpg") repeat scroll center top transparent;
height: 9999px;
left: 0;
overflow: visible;
position: fixed;
top: 0;
width: 100%;
z-index: 1;
}