Back to CSS Tips
Preview: what the working site looks like.

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no

The markup
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>
<body>     
    <div id="container">
	<div id="header">
		<h1>Rounded corners</h1>
		<h2>CSS only</h2>
  	</div>
			<div id="content">
                <div class="col1">
					<p>
						Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna 
						aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no 
					</p>
                <!--end col1--></div>
<div class="col3">
	<p>
		Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna 
		aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no 
	</p>
<!--end col3--></div>   
                <div class="col2">
					<p>
						Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna 
						aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no
					</p>
                <!--end col2--></div>
            <!--end content--></div>
    <!--end container--></div>  
</body>
</html>
        
The CSS
html, body {
	margin: 0;
	font: 100% "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #000;
	background: #fc6;
}
#container {
	width: 640px;
	margin: 30px auto;
	background: #999;
}
	#header {
		padding: 0 10px;
		background: #0f0;
		overflow: auto;
	}
#content {
	width: 640px;
	margin: 0 auto;
	padding: 10px 0;
	overflow: auto;
	background: #999;
}
/*********columns************/
	.col1, .col2, .col3 {
		width: 180px;
		padding: 0 10px;
		overflow: auto;
		border-radius: 10px;
		background: #fff;
	}
	.col1 {
		float: left;
		margin: 0 0 0 10px;
	}
	.col2 {margin: 0 auto;}
	.col3 {
		float: right;
		margin: 0 10px 0 0;
	}