Hey so I figured Ill show you how i have my div's set-up then tell you the problem.
Now obviously there all <div id="Name"> I just wanted to give you an idea of what's going on.
Now what I want to do is have background colour/image for the body/wrapper and for the inner wrapper to have a different background colour/image. But my header and footer images don't have straight lines in order to make it simple so I was wondering if I can layer it like you would in Photoshop or if there was some other method for doing this.
I tried putting the inner wrapper around the header and footer but the colour shows on top of the images instead of under.
Code:
<body>
<wrapper>
<banner>
</banner>
<sub-wrapper>
<left>
</left>
<content>
</content>
<sub-wrapper>
<footer>
</footer>
</wrapper>
</body>
Now obviously there all <div id="Name"> I just wanted to give you an idea of what's going on.
Code:
body
{
margin:0px;
padding:0px;
}
wrapper
{
background-image:url(banner image);
background-repeat:repeat-x;
}
banner
{
padding
Under this header is actualy just a logo image link
So in the CSS it just positions the image
}
sub-wrapper
{
width:990px;
border-right:2px solid #fe0000;
border-left:2px solid #fe0000;
}
footer
{
background-image:url(footer image);
background-repeat:repeat-x;
}
Now what I want to do is have background colour/image for the body/wrapper and for the inner wrapper to have a different background colour/image. But my header and footer images don't have straight lines in order to make it simple so I was wondering if I can layer it like you would in Photoshop or if there was some other method for doing this.
I tried putting the inner wrapper around the header and footer but the colour shows on top of the images instead of under.