PDA

View Full Version : ? about gradients


djbutter22
10-10-2009, 05:40 PM
Is there a way to get a nice gradient effect in my bg color ?

Corrosive
10-10-2009, 05:45 PM
Is there a way to get a nice gradient effect in my bg color ?

Yes, make an image of a gradient (maybe a couple of px wide) and then repeat it in the body styles of your website;

body {background: #f00 url('gradient.jpg') repeat-x top center scroll;}

There are ways of doing this with CSS3 and webkits but I'd get the basics down first if I were you.