use this code it's really helping to you.............:-)
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
ul li
{
padding:0 8px;
background-color:#333333;
display:inline;
width:80px;
float:left;
color:#FFFFFF;
text-align:center;
border:#0099CC solid 2px;
}
ul li:hover
{
background-color:#00CC00;
}
ul li a
{
text-decoration:none;
color:#FFFFFF;
}
ul li:hover ul
{
float:right;
right:2px;
}
ul li ul li
{
display:none;
background-color:#00CC00;
text-align:left;
}
ul li:hover ul li
{
display:inline;
width:60px;
}
ul li ul li a:hover
{
color:#666666;
}
</style>
</head>
<body>
<div>
<ul>
<li><a>Home</a></li>
<li><a>About Us</a></li>
<li>
<a>Services</a>
<ul>
<li><a>Service 1</a></li>
<li><a>Service 2</a></li>
<li><a>Service 3</a></li>
</ul>
</li>
<li><a>Contact Us</a></li>
</ul>
</div>
</body>
</html>
Thanx