Shoutout to Josh, Stefan, and Ty for their help. I'm a bit confused on how to implement the background-size property. Do I just add it for each element and set it to 100%?
Is the method below a clumsy workaround for a layout that should have a standard solution?
<header>
<div id="header-content">
.......
</div>
</header>
<section> <!-- This is the main content area for each page -->
<div id="main-page-content">
........
</div>
</section>
<footer>
<div id="footer-content">
........
</div>
</footer>
header {
width: 100%
background: url(images/headerbg.png) center repeat-x;
}
#header-content {
width: 80%;
margin: 0 auto;
padding: 30px;
}
section {
width: 100%
background: url(images/main-contentbg.png) center repeat-x;
}
#main-page-content {
width: 80%;
margin: 0 auto;
padding: 30px;
}
footer {
width: 100%
background: url(images/footerbg.png) center repeat-x;
}
#footer-content {
width: 80%;
margin: 0 auto;
padding: 30px;
}