To acheive this, what I have done till now and what I know is, there is no possible way to add two background
s as of now. So, I make two div
say header and footer, then I apply the background over it. And possibly a third div
to form a body. Setting the CSS
position
to absolute
you can easily acheive an overlapping look.
<div id="header"></div>
<div id="body"></div>
<div id="footer"></div>
For CSS you can have this.
#header, #body, #footer
{
background: url("img1.jpg");
position: absolute;
}
Most of the website do this.
Try this. This might work for you.
<style>
body
{
margin: 0px;
}
div
{
height: 33.3%;
}
#header
{
background: url("1.jpg");
}
#footer
{
background: url("2.jpg");
}
#body
{
background: url("3.jpg");
}
</style>
<div id="header"></div>
<div id="body"></div>
<div id="footer"></div>