I have an image that is in the center of my webpage, and it works there. However, I want an image/color to be on the actual background of my site without interfering with the image in the center. How would I do this?
This is my code:
body{
background: url(images/greenBackground.png) center no-repeat;
}
#header{
background: url(images/gogreenLogo.png) center top no-repeat;
margin-left:182px;
width:287px;
height:138px;
}
Since you already have a image as background on the body I suggest you use an extra div width: 100%; height:100% and have a background image for that div as well.
Yeah, it would be nice if every browser would support that, indeed.
@boboreo like materialdesigner already said, a link to your side would be very helpful. Or a link to a site where you maybe have seen the layout you would like to have.