Horizontal Menus - Simple CSS 04.

CSS Code

#navbar {font:bold .76em Tahoma, Arial, sans-serif;margin:0;padding:0;width:100%;float:left;background:#fff;}
#navbar ul {margin:0;padding-left:10px;list-style:none;}
#navlist {border-bottom:1px solid #000;padding-bottom:25px;}
#navlist li {display:inline;list-style:none;}
#navlist li a:link, #navlist li a:visited {background:#fcc;border:1px solid #000;color:#666;float:left;margin:0 1px;padding:5px 8px;text-decoration:none;}
#navlist li a:link#current, #navlist li a:visited#current {background:#fff;border-bottom:1px solid #fff;color:#000;}
#navlist li a:hover {background:#fcf;color:#000;}

HTML Code

<div id="navbar">
	<ul id="navlist">
		<li><a href="#" id="current">Menu List 01</a></li>
		<li><a href="#">Menu List 02</a></li>
		<li><a href="#">Menu List 03</a></li>
		<li><a href="#">Menu List 04</a></li>
		<li><a href="#">Menu List 05</a></li>
		<li><a href="#">Menu List 06</a></li>
	</ul>
</div>
Back to top