First you'll need to set the margins of body and html, to prevent any missing pixels
html, body {
margin:0;
}
Once you have that done you need to set the header container up.
CSS:
.header {
width:100%; /* Makes it reach 100% of the page */
height:50px; /* Height of the header */
}
HTML:
<div class="header">Heading here</div>
Once we have that stretching across the page we need to make the container in the middle, of 1000px.
CSS:
.content {
width:1000px;
margin-left:auto; /* Makes it centre in the page*/
margin-right:auto;
height:200px;
}
HTML:
<div class="content">Content goes in here.</div>
Now we need to do the footer. The footer also has the 100% width, like the header.
CSS:
.footer {
width:100%;
height:50px;
}
HTML:
<div id="footer"> copyright footer etc </div>
Hope this helped