Back to CSS Tips
Preview: what the working site looks like.
The markup
 
<!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>Title</title>
</head>
<body> 



				
				
</body>
</html>  
        
The CSS
 
body, html {
	background: #FC6;
	font: 100% "Comic Sans MS";
}
* {
	margin: 0px;
	padding: 0px;
}
#left_column {
	width: 147px;
	height: 300px;
	margin: 50px 0 0 0;
	padding: 20px 0 0 0;
	border: 1px solid #000;
	background: #CC9;
}
ul#menu_left {
	width: 147px;
	list-style-type: none;
	background: #ccc;
}
#menu_left li a {
	display: block;
	color: #000;
	text-decoration: none;
	width: 147px;
	height: 30px;
	line-height: 30px;
	text-align: center;
}
#menu_left li a:hover {
	color: #fff;
	background: #Ff0000;
}
		#menu_h {
			margin: 50px 0 200px 0;
			background: #9C9;
		}
		#menu_h ul {
			background-color: #CCCCCC;
			width: 673px;
			margin: 0px auto;
			overflow: auto;
			list-style-type: none;
		}
		#menu_h li {
			float: left;
			width: 7em;    
			background: #CCCCCC url(none);
			text-align: center;
		}
		#menu_h li a{
			color: #330000;
			text-decoration: none;
			display: block;
			width: 100%;
		}
		#menu_h li a:hover {
			color: #fff;
			background: #f00;
		}