Buenas tardes a todos, acabo de encontrar un menu con CSS el cual no es compatible con Explorer8, que podria modificar para poder hacer q sea compatible con este navegador?
Código CSS:
Ver original#menu1 {
margin : 5px auto 260px !important ;
}
#menu1 {
font-family : Arial, sans-serif;
font-size : 12px;
background-color : #202020;
width : 920px;
height : 40px;
border-radius : 5px;
margin : 40px auto 0;
padding : 0 20px;
display : block;
line-height : 1;
}
#menu1 h1, #menu1 ul, #menu1 p, #menu1 img {
margin : 0;
padding : 0;
border : 0;
}
#menu1 h1 {
font-weight : normal;
}
#menu1 ul {
list-style : none;
}
#menu1 a {
text-decoration : none;
color : #d0d0d0;
}
#menu1 .menu-label {
font-weight : bold;
text-transform : uppercase;
}
#menu1 .menu-top > li {
float : left;
position : relative;
text-align : center;
}
#menu1 .menu-top > li:hover {
background-color : #4a4a4a;
}
#menu1 .menu-top .menu-right {
float : right;
}
#menu1 .menu-button {
display : block;
line-height : 40px;
padding : 0 20px;
color : #d0d0d0;
}
#menu1 li:hover .menu-button {
color : #fff;
}
#menu1 .menu-drop {
padding-right : 15px;
}
#menu1 .menu-drop .menu-label {
padding-right : 20px;
background : url("../images/menu1-drop1.png") right no-repeat;
}
#menu1 li:hover .menu-drop .menu-label {
background : url("../images/menu1-drop2.png") right no-repeat;
}
#menu1 .menu-dropdown {
text-align : left;
background-color : #4a4a4a;
border-radius : 0 0 5px 5px;
position : absolute;
left : -5000px;
opacity : 0;
z-index : 100;
}
#menu1 li:hover .menu-dropdown {
left : 0;
opacity : 1;
}
#menu1 .menu-right:hover .menu-dropdown {
left : auto;
right : 0;
}
#menu1 .menu-sub {
margin : 5px 0;
}
#menu1 .menu-sub li {
white-space : nowrap;
}
#menu1 .menu-sub li:hover {
background : url("../images/menu1-select.png") 10px no-repeat #2a2a2a;
}
#menu1 .menu-subbutton {
display : block;
padding : 7px 20px;
line-height : 1.3;
color : #d0d0d0;
}
#menu1 .menu-sub li:hover .menu-subbutton {
color : #fff;
}
#menu1 .menu-desc {
font-style : italic;
color : #a0a0a0;
}
#menu1 .menu-sub li:hover .menu-desc {
color : #d0d0d0;
}
#menu1 .menu-row .menu-sub {
margin : 0;
}
#menu1 h1 {
font-size : 2em;
color : #a0a0a0;
}
#menu1 p {
color : #e5e5e5;
}
#menu1 .emp {
font-weight : bold;
}
#menu1 .quote {
font-style : italic;
}
#menu1 .menu-dropdown3 {
padding-top : 5px;
white-space : nowrap;
}
#menu1 .menu-dropdown3 h1 {
margin : 0 0 5px 20px;
}
#menu1 .menu-dropdown3 .menu-row {
border-right : 1px dotted #707070;
margin : 5px 0;
}
#menu1 .menu-dropdown3 .menu-row:last-child {
border-right : none;
}
#menu1 .menu-dropdown4 {
padding-top : 5px;
white-space : nowrap;
}
#menu1 .menu-dropdown4 h1 {
margin : 0 0 5px 20px;
}
#menu1 .menu-dropdown4 .menu-row div {
border-right : 1px dotted #707070;
margin : 5px 0 10px 0;
}
#menu1 .menu-dropdown4 .menu-row:last-child div {
border-right : none;
}
#menu1 .menu-dropdown4 .menu-row div:last-child {
margin-bottom : 5px;
}
#menu1 .menu-dropdown6 img {
margin-right : 5px;
vertical-align : middle;
}
#menu1 .menu-dropdown6 .menu-label {
vertical-align : middle;
}
#menu1 .menu-dropdown6 .menu-subbutton {
padding : 5px 20px;
}
#menu1 .menu-dropdown7 {
padding : 10px;
width : 210px;
}
#menu1 .menu-dropdown7 p {
margin-top : 7px;
}
#menu1 .menu-dropdown7 h1 {
color : #e0e0e0;
padding-bottom : 3px;
border-bottom : 1px solid #858585;
}
Código HTML:
Ver original<!DOCTYPE HTML>
<link href="css/main.css" type="text/css" rel="stylesheet"> <!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js">
</script>
<![endif]-->
<li><a href="#" class="menu-button"><span class="menu-label">Home
</span></a></li> <li><a href="#" class="menu-button menu-drop"><span class="menu-label">About
</span></a> <div class="menu-dropdown menu-dropdown1"> <li><a href="#" class="menu-subbutton"><span class="menu-label">Who We Are
</span></a></li> <li><a href="#" class="menu-subbutton"><span class="menu-label">What We Do
</span></a></li> <li><a href="#" class="menu-subbutton"><span class="menu-label">Our Goals
</span></a></li> <li><a href="#" class="menu-subbutton"><span class="menu-label">Our Awards
</span></a></li> <li><a href="#" class="menu-subbutton"><span class="menu-label">Our Team
</span></a></li> <li><a href="#" class="menu-button menu-drop"><span class="menu-label">Services
</span></a> <div class="menu-dropdown menu-dropdown2"> <li><a href="#" class="menu-subbutton"><span class="menu-label">Web Design
</span><div class="menu-desc">Lorem ipsum dolor
</div></a></li> <li><a href="#" class="menu-subbutton"><span class="menu-label">Programming
</span><div class="menu-desc">Lorem ipsum dolor
</div></a></li> <li><a href="#" class="menu-subbutton"><span class="menu-label">Advertising
</span><div class="menu-desc">Lorem ipsum dolor
</div></a></li> <li><a href="#" class="menu-subbutton"><span class="menu-label">Marketing
</span><div class="menu-desc">Lorem ipsum dolor
</div></a></li> <li><a href="#" class="menu-subbutton"><span class="menu-label">E-commerce
</span><div class="menu-desc">Lorem ipsum dolor
</div></a></li> <a href="#" class="menu-button menu-drop"><span class="menu-label">Info
</span></a> <li class="menu-right"><a href="#" class="menu-button menu-drop"><span class="menu-label">Social
</span></a> <div class="menu-dropdown menu-dropdown6"> <li><a href="#" class="menu-subbutton"><img src="images/facebook.png" alt=""><span class="menu-label">Facebook
</span></a></li> <li><a href="#" class="menu-subbutton"><img src="images/twitter.png" alt=""><span class="menu-label">Twitter
</span></a></li> <li><a href="#" class="menu-subbutton"><img src="images/googleplus.png" alt=""><span class="menu-label">Google+
</span></a></li> <li><a href="#" class="menu-subbutton"><img src="images/linkedin.png" alt=""><span class="menu-label">LinkedIn
</span></a></li> <!-- Mirrored from www.creativetier.com/products/modern-menu/ by HTTrack Website Copier/3.x [XR&CO'2010], Fri, 11 May 2012 10:19:23 GMT -->