<style>
body {
text-align:center;
}
#positioner{
clear:both;
margin:0 auto;
position:relative;
}
.menubox {
float:left;
width:149px;
height:20px;
margin:0 1px 0 0;
padding:0;
overflow:hidden;
}
.menubox:hover {
height:auto;
}
.menubox ul {
margin:0;
padding:0;
}
.menubox ul li {
list-style:none;
background:#cff;
}
.menubox ul li ul {
display:none;
}
.menubox ul li:hover ul {
display:block;
position:absolute;
margin-top:0px;
left:149px;
}
.menubox a {
display:block;
padding:2px 0 0 0;
width:149px;
height:17px;
border-bottom:1px solid #fff;
font-family:Verdana;
font-size:12px;
text-decoration:none;
color:#000;
}
.menubox a:hover {
background:#ffc;
color:#F00;
}
.menubox ul li.showitem a {
background:#ccc;
}
#item2 li {
background:#fcf;
}
</style>
<body>
<div id= "positioner ">
<div class= "menubox ">
<ul>
<li class= "showitem "> <a href= "# "> Item 1 </a> </li>
<li class= "hiddenitem "> <a href= "# "> Item 1 1 </a> </li>
<li class= "hiddenitem "> <a href= "# "> Item 1 2 > > </a>
<ul id= "item2 ">
<li class= "hiddenitem "> <a href= "# "> Item 1 2 1 </a> </li>
<li class= "hiddenitem "> <a href= "# "> Item 1 2 2 </a> </li>
</ul>
</li>
<li class= "hiddenitem "> <a href= "# "> Item 1 3 </a> </li>
</ul>
</div>
<div class= "menubox ">
<ul>
<li class= "showitem "> <a href= "# "> Item 2 </a> </li>
<li class= "hiddenitem "> <a href= "# "> Item 2 1 </a> </li>