Liquid layout example

Back to article

CSS code

#header
{
	height: 50px;
	background-color: #666;
	margin-bottom: 10px;
}

#nav
{
	float: left;
	width: 25%;
	height: 150px;
	background-color: #999;
	margin-bottom: 10px;
}

#content
{
	float: left;
	margin-left: 5%;
	width: 65%;
	height: 150px;
	background-color: #999;
	margin-bottom: 10px;
}

#footer
{
	clear: both;
	height: 50px;
	background-color: #666;
	margin-bottom: 10px;
}