The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Two backgrounds Re: [Solved] Two backgrounds


You could do this:

body{background: #ccc url(../images/example.jpg) repeat-x left top;}

That way there will be a colour once the image stops.
Also, you could have a look at Chris’ css3 gradient article. Perhaps you could have a CSS3 gradient with a fallback flat colour.