Back to CSS Tips
Preview: what the working site looks like.
The markup
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>
<body>    
    <div id="container">
        <ul id="menu">
            <li><a href="">linky</a></li>
            	<li class="dvdr">|</li>
            <li><a href="">linky</a></li>
            	<li class="dvdr">|</li>
            <li><a href="">linky</a></li>
            	<li class="dvdr">|</li>
            <li><a href="">linky</a></li>
            	<li class="dvdr">|</li>
            <li><a href="">linky</a></li>
        </ul>    
    <!--container--></div>  
</body>
</html>
        
The CSS
html, body {
	margin: 0;
	font: 100% "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #000;
	background: #fc6;
}
#container {
	width: 800px;
	margin: 30px auto;
	background: #696;
	overflow: auto;
	font-size: 0.8em;
}
ul#menu {
	margin: 0 0 350px;
	padding: 0;
	overflow: auto;
	background: #ccc;
	list-style: none;
}
	ul#menu li {
		display: inline;
		text-align: center;
		line-height: 30px;
	}
		ul#menu li a {
			width: 19%;
			float: left;
			display: block;
		}
		.dvdr {
			width: 1%;
			float: left;
			font-size: 1.5em;
			color: #fff;
		}
			ul#menu li a:hover,
			ul#menu li a:active {background: #00f;}