see this link ..It may be helpful for you..
http://mrbool.com/how-to-create-menu-with-submenu-using-css-html/26146[
^]
.sub_menu4 ul li {
list-style:none;
float:left;
display:block;
margin-left:10px;
width: auto;
margin-bottom: 3px;
margin-top: 1px;
}
.sub_menu4 ul li a{
float:left;
padding-right:10px;
font-family:arial;
height:19px;
color:#FFF;
font-size:12px;
font-weight:normal;
text-decoration:none;
text-transform:uppercase;
cursor:pointer;
background-color:transparent;
line-height: 18px;
padding-left: 30px;
padding-right: 30px;
padding-top: 3px;
border:1px solid #424B2C;
margin-top:2px;
}
.sub_menu4 ul li a:hover {
text-decoration:none;
color:#FF0;
}
.sub_menu4 ul li a span{
padding-left:10px;
float:left;
padding-top:1px;
height:16px;
}
.sub_menu4 ul li a:hover span{
color:#3D993D;
}
.sub_menu4 ul li a.active {
text-decoration:none;
color:#009;
background-color: #AEC271;
}
.sub_menu55 ul li a.active55 {
text-decoration:none;
color:#009;
}