refer this code
<style type="text/css">
.aerobuttonmenu
{
overflow: hidden;
width: auto;
background: #F7F7F7;
border: 1px solid gray;
padding: 4px 0;
border-width: 1px 0;
}
* html .aerobuttonmenu{
width: 100%;
}
.aerobuttonmenu a.aero{
background: url('Images/aeroleft.gif') no-repeat left top;
display: block;
float: left;
line-height: 23px;
height: 39px;
padding-left: 10px;
text-decoration: none;
margin-right: 5px;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=90);
opacity: 0.9;
-moz-opacity: 0.9;
font-style: normal;
font-variant: normal;
font-weight: bold;
font-size: 13px;
font-family: Verdana, "Trebuchet MS";
}
.aerobuttonmenu a.aero:link, .aerobuttonmenu a.aero:visited, .aerobuttonmenu a:active{
color: white;
width: 149px;
}
.aerobuttonmenu a.aero span
{
background: transparent url('Images/aeroright.gif') no-repeat top right;
display: block;
padding: 4px 10px 6px 0;
}
.aerobuttonmenu a.aero:hover
{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
opacity: 1;
-moz-opacity: 0.99;
}
.aerobuttonmenu a.aero:hover span{
color: yellow;
}
.black a.aero{
background-image: url('Images/aeroleftblack.gif');
}
.black a.aero span
{
background-image: url('Images/aerorightblack.gif');
}
.aerobuttonmenu .rightsection
{
float: right;
width: 100px;
position: relative;
top: 3px;
padding-right: 5px;
text-align: right;
}
.aerobuttonmenu .rightsection a
{
color: navy;
}
#form1
{
height: 57px;
width: 999px;
}
#mydiv
{
background-color:grey;
height: 100px;
width: 100px;
display:none;
}
</style>
the .aspx page is
<body>
<form id="form1" runat="server">
<div class="aerobuttonmenu black" align="center">
<a href="upload.aspx" class="aero"><span>Home</span></a>
<a href="http://tools.dynamicdrive.com" class="aero"><span>Master</span></a>
</div>
</form>
</body>