easton91
19 Jan 2011, 06:36 AM
I want to vertically tile an image down the left side of the body and vertically tile another image down the right side of the body. I want to accomplish this:
body
{
margin: 0;
background: #001e3a;
height: 100%;
background-image: url('./left_sidebar.jpg');
background-position: left top;
background-repeat: repeat-y;
background-image: url('./right_sidebar.jpg');
background-position: right top;
background-repeat: repeat-y;
}
Obviously, this doesn't work for both sides; only one. Whichever is the latter.
Help appreciated,
Easton91
body
{
margin: 0;
background: #001e3a;
height: 100%;
background-image: url('./left_sidebar.jpg');
background-position: left top;
background-repeat: repeat-y;
background-image: url('./right_sidebar.jpg');
background-position: right top;
background-repeat: repeat-y;
}
Obviously, this doesn't work for both sides; only one. Whichever is the latter.
Help appreciated,
Easton91