You changed the source order Ralph 
You could do something like this as long as you can target the inner elements in the content section to keep them clear (or add a wraping div around the content instead).
e.g.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style>
p {
margin:0 0 1em
}
.main, .footer {
overflow: hidden;
margin-bottom: 20px;
}
.sidebar {
float: left;
width: 180px;
background: #fcc;
margin-right:-190px;
}
.content {
float:right;
width:100%;
background:red;
}
.content p {margin-left:190px}
.footer {
clear:both;
background:#fcf;
padding:10px 0
}
</style>
</head>
<body>
<div class="wrapper">
<div class="main">
<div class="content">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis pellentesque mauris pellentesque justo congue in faucibus justo faucibus. Nunc odio sapien, vehicula eget interdum quis, euismod dignissim magna. Morbi condimentum massa sit amet nisl fringilla quis laoreet sapien porttitor. Aenean adipiscing rutrum accumsan. </p>
</div>
<div class="sidebar">
<p>sidebar here</p>
<p>sidebar here</p>
<p>sidebar here</p>
<p>sidebar here</p>
</div>
<div class="footer">footer content should flow below all previous sibling elements</div>
</div>
</div>
</body>
</html>
Bookmarks