Having a vertical background “strip” repeat to left and right of blog
-
Hello,
Trying to help my wife out with her blog, and I’ve never actually tried to use a repeating background image before: we’ve got a vertical image that we’d like to “loop” to the left and right of the central blog area, running in a strip down either side of the blog but not necessarily repeating out to the far sides of the screen.
At the moment, I have
body { margin: 0; padding: 0; background: #FFF url('images/applemirror.jpg'); background-repeat: repeat-y; font-size: 80%; font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, sans-serif; color: #000; text-align: center;
which causes the banner to run up the left side of the blog area, but not the right side. Adding repeat-x to the background-repeat makes it repeat, but starting from the far left, then with an ugly half-repeat before it gets to the blog area, and it runs “under” the blog to repeat on the other side with more ugly dividers.
Ideally, I’d like the image to repeat once to the left and once to the right of the blog space, using repeat-y for up and down but nothing repeating on the X axis.
I’ve tried searching these forums but I’m obviously not using the right terms. Thanks for any help!
- The topic ‘Having a vertical background “strip” repeat to left and right of blog’ is closed to new replies.