3 column with full length columns (maxdesign)

This is the 3 column layout by css.maxdesign.com.au

It is very similar to the previous method, with the difference that it is simplier. It does not try to have full length background colors and relies therefor only on the background images. However this method does work is therefore the best solution I found so far.

View the Layout

CSS code

HTML code

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
	<title>Selectutorial - Selectors in action - Step 22</title>
	<link  rel="stylesheet" href="style.css" type="text/css" >
</head>
<body>
	<div id="banner">
		<h1>Site name</h1>	
	</div>
	<div id="container">
		<div id="container2">
			<div id="navigation">
				<h2>Left Sidebar</h2>
		<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque sed felis. Aliquam sit amet felis. Mauris semper, velit semper laoreet dictum, quam diam dictum urna, nec placerat elit nisl in quam. Etiam augue pede, molestie eget, rhoncus at, convallis ut, eros. Aliquam pharetra. Nulla in tellus eget odio sagittis blandit. Maecenas at nisl. Nullam lorem mi, eleifend a, fringilla vel, semper at, ligula.</p>
			</div>
			<div id="more">
				<h2>Right Sidebar</h2>
		<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque sed felis. Aliquam sit amet felis. </p>
			</div>
			<div id="content">
				<h2>Heading here</h2>
				<p>
					Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
				</p>
			</div>
			<div id="cleardiv"></div>
		</div>
	</div>
	<div id="footer">
		Footer
	</div>
</body>
</html>
body
{
	margin: 0;
	padding: 0;
	font-size: 95%;
	font-family: georgia, times, "times new roman", serif;
	color: #000;
	background-color: #abc;
}
 
div#banner
{
	color: #fff;
	background-color: #333;
	border-bottom: 1px solid #000;
}
div#banner h1
{
	margin: 0;
}
 
div#container
{
	background-image: url(nav_col_base.jpg);
	background-repeat: repeat-y;
	background-color: #cfc;
}
 
div#container2
{
	background-image: url(more_col_base.jpg);
	background-repeat: repeat-y;
	background-position: right;
}
 
div#navigation
{
	float: left;
	width: 150px;
	padding-top: 2em;
}
 
div#more
{
	float: right;
	width: 160px;
	margin: 0;
	padding: 2em 10px 0 0;
	color: #fff;
}
 
div#content
{
	margin-top: 0px;
	margin-left: 190px;
	margin-right: 200px;
}
 
div#content h2
{
	margin: 0;
	padding-top: 1em;
}
 
div#content { line-height: 150%; } 
 
#cleardiv
{
	clear: both;
	height: 1em;
}
 
div#footer
{
	clear: both;
	background-color: #ccc;
	padding: .5em 1em;
	border-top: 1px solid #999;
	text-align: right;
}