<style>
#main-nav {
width: 100%;
}
ul#main-nav li {
float: left;
position: relative;
display: inline;
}
ul#main-nav li a {
position: relative;
width: 110px;
height: 26px;
display: block;
background-position: center center;
color: #404040;
text-decoration: none;
font-family: arial;
font-size: 14px;
padding-top: 12px;
text-align: left;
padding-left: 26px;
font-weight: normal;
text-shadow: 0 0.6px 0 rgba(255, 255, 255, 0.2), 0 -0.6px #000;
}
ul#main-nav li.home a {
color: #03b4cc;
}
ul#main-nav li.home a:hover {
color: #f7f7f7;
}
ul#main-nav li.current a {
background-position: top;
color: #ffffff;
}
ul#main-nav li a:hover {
background-position: bottom;
color: #c2c2c2;
padding-left: 25px;
cursor: pointer;
}
ul#main-nav li.current a:hover {
background-position: top;
color: #ffffff;
}
ul#main-nav li.current {
z-index: 100;
}
ul#main-nav li.home {
z-index: 100;
}
ul#main-nav li.web-design {
z-index: 99;
}
ul#main-nav li.web-development {
z-index: 98;
}
ul#main-nav li.blogging {
z-index: 97;
}
ul#main-nav li.blogger-tips {
z-index: 96;
}
ul#main-nav li.widgets {
z-index: 95;
}
ul#main-nav {
margin-left: 10px;
}
ul#main-nav li {
float: left;
position: relative;
margin-left: -20px;
display: inline;
}
.mbt_navigation1 {
position:absolute;
display:none;
}
.mbt_navigation1 li {
clear:both;
}
ul#mbt_navigation1 li a {
background: #242424;
width: 196px;
padding-left: 10px;
color: #c2c2c2;
opacity: 0.9;
font-family: arial;
font-size: 14px;
-webkit-transition-duration: 0.3s;
-moz-transition-duration: 0.3s;
-o-transition-duration: 0.3s;
}
ul#mbt_navigation1 li a:hover {
background: #535353;
color: #f7f7f7;
margin-left: -22px;
}
#main-nav li ul {
background: #242424;
border-left: 2px solid #2b2b2b;
border-right: 2px solid #2b2b2b;
border-bottom: 2px solid #2b2b2b;
display: none;
height: auto;
filter: alpha(opacity=95);
opacity: 0.9;
position: absolute;
width: 177px;
z-index: 200;
-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-ms-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
/*top:1em;
/*left:0;*/
}
#main-nav li:hover ul {
display: block;
background-image: none;
}
#main-nav li li {
display: block;
float: none;
padding: 0px;
width: 245px;
}
.searchbutton1:hover{
opacity: 0.9;
border: none;
}
.icon-right2 {
color: #4e4e4e;
font-size: 7px;
}
</style>
<ul id='main-nav'>
<li class='home'><a href='#'></a></li>
<li class='web-design'><a><span class='icon-right2'>▼</span></a>
<ul id='mbt_navigation1'>
<li><a href='#'></a></li>
<li><a href='#'></a></li>
<li><a href='#'></a></li>
<li><a href='#'></a></li>
<li><a href='#'></a></li>
<li><a href='#'></a></li>
</ul></li>
<li class='main-nav web-development'><a><span class='icon-right2'>▼</span></a>
<ul id='mbt_navigation1'>
<li><a href='#'>HTML</a></li>
<li><a href='#'>CSS</a></li>
<li><a href='#'></a></li>
</ul></li>
<li class='main-nav web-development'><a><span class='icon-right2'>▼</span></a>
<ul id='mbt_navigation1'>
<li><a href='#'>HTML</a></li>
<li><a href='#'>CSS</a></li>
<li><a href='#'></a></li>
</ul></li>
<li class='main-nav web-development'><a><span class='icon-right2'>▼</span></a>
<ul id='mbt_navigation1'>
<li><a href='#'>HTML</a></li>
<li><a href='#'>CSS</a></li>
<li><a href='#'></a></li>
</ul></li>
<li class='blogging'><a href='#'></a></li>
<li class='widgets'><a href='?#39;>?lt;/a></li>
<li class='main-nav'><a>?<span class='icon-right2'>▼</span></a>
<ul id='mbt_navigation1'>
<li><a href='#'>SEO</a></li>
<li><a href='#'>HTML Code</a></li>
<li><a href='#'>HTML Code</a></li>
<li><a href='#'>?lt;/a></li>
<li><a href='#'>Generator</a></li>
<li><a href='#'></a></li>
</ul></li>
</ul>