Everything should be inside your header/content/footer divs.
Header
--navBar
Content
--pagecontent (right box)
--links (left box)
Footer
--Anything
Also remove the "align=left" from everything. Everything will go to 800px if you don't give it a width so remove all of those.
<div class="wrapper">
<div class="header">
<div class="logo_or_whatever">Header</div>
<div class="navBar">
<ul>
<li>Nav1</li>
<li>Nav2</li>
</ul>
</div> <!--/navBar -->
</div> <!-- /header -->
<div class="content clearfix">
<div class="pagecontent">Page Content</div>
<div class="links">Links.</div>
</div> <!-- /content -->
<div class="footer">
Footer
</div> <!-- /footer -->
</div> <!-- /wrapper -->
@charset "utf-8";
/* CSS Document */
.wrapper{
width:800px;
margin:auto; /* centers the "wrapper" div */
}
.header{
background-color:#CCCCCC;
}
.navBar{
background-color:#FF00FF;
}
.links{
width:190px;
height:300px;
float:left;
background-color:#CCCCCC;
}
.content{
margin-top:40px;
}
.pagecontent {
float:right;
width:570px;
height:300px;
background-color:#999999;
}
.footer{
background-color:#FF00FF;
}
/* CLEARFIX - http://www.positioniseverything.net/easyclearing.html */
.clear {
clear: both;
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0;
}
.clearfix:after {
clear: both;
content: ' ';
display: block;
font-size: 0;
line-height: 0;
visibility: hidden;
width: 0;
height: 0;
}
.clearfix {
display: inline-block;
}
* html .clearfix {
height: 1%;
}
.clearfix {
display: block;
}