
Question by Naughty Puppy: Web page creation: How do you add a colored background to only the sides of the page?
I don’t know much about web page creation but I’ve managed to put together a very humble site. While I’m glad I set my width to about 980 pixels, the sides are barren. I’d like to change the color of the background on only the sides with a slight gradient transition, like you see here on Yahoo answers. Is there a relatively straight forward way to do that such that a beginner could handle it?
Best answer:
Answer by Dan
There’s no code to do this directly.. you simply have to create a background image like so:
http://l.yimg.com/a/i/us/sch/gr4/wide-site-bg.png
And then in your CSS background-repeat:repeat-y;
Know better? Leave your own answer in the comments!



No comments:
Post a Comment