<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en"
"Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<meta http-equiv= "Content-type" content= "Text/html;charset=utf-8"/>
<title>plain Shane Design > CSS Drop down demo</title>
<style type= "Text/css" >
*{margin:0; padding:0;}
#nav ul {list-style-type:none;}
#nav ul li {float:left; position:relative;}
#nav ul Li a {border-right:1px solid #e9e9e9; padding:20px; display:block; text-decoration:none; text-
Align:center; Color: #999;}
#nav ul Li ul {display:none;}
#nav UL Li:hover ul {display:block; position:absolute; top:56px; min-width:190px; left:0;}
#nav UL Li:hover ul Li a {display:block; background:green; color: #ffffff; width:110px; Text-align:
Center border-bottom:1px solid #f2f2f2; Border-right:none;}
. Top {border-top:1px solid #f2f2f2;}
</style>
<body>
<div id= "NAV" >
<ul>
<li><a target= "_blank" >Contact</a>
<ul>
<li class= "Top" ><a href= "http://www.jb51.net" target= "_blank" >Web</a></li>
<li><a href= "http://www.jb51.net" target= "_blank" >Print</a></li>
<li><a href= "http://www.jb51.net" target= "_blank" >the rest</a></li>
</ul>
</li>
</ul>
</div>
</div>
</body>
Useful navigation bar drop-down code