primero que nada quiero enviar un gran saludo a todos los webmasters que visiten este tema de foro.
Mi problema es que, quiero mostrar 3 menus horizontales desplegables en mi web, para que otras personas puedan usarlos, y pege los 3 menus en la misma página,
Lo que pasa es que ya estando los 3 menus desplegables puestos en mi web, los 3 se ven con el diseño de un solo menu, (para ser mas explicito visiten este link donde se ve el error
http://cryf.es.tl/conocenos.htm )
me gustria saber una posible solucion a mi problema, y para mostrarles que son 3 menus diferentes, aqui les dejo el code de 2 de ellos:
Código:
<style type="text/css">
body {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
}
#marco {
width:455px;
margin:10px 0;
padding:0px;
text-align:left;
}
#marco { width:500px; margin:10px 0; padding:0px; text-align: left;}
/*Credits: CSSplay */
/*URL:
http://www.cssplay.co.uk/menus/pro_drop2 */
.preload2 {background: url(http://img67.xooimage.com/files/6/8/5/fondomhover-2b2c534.png);}
.menu2 {padding:0; margin:0; margin-bottom:0; list-style:none; height:25px; background:#ffffff url(http://img69.xooimage.com/files/c/9/6/fondo2mhover-2b2febb.png) repeat-x; position:relative; font-family:arial, verdana, sans-serif; }
.menu2 li.top {display:block; float:left; position:relative;}
.menu2 li a.top_link {display:block; float:left; height:25px; margin-left:6px; line-height:25px; color:#ffffff; text-decoration:none; font-size:11px; font-weight:bold; padding:0 0 0 6px; cursor:pointer;}
.menu2 li a.top_link span {float:left; display:block; padding:0 10px 0 6px; height:40px;}
.menu2 li a.top_link span.down {float:left; display:block; padding:0 10px 0 6px; height:25px;/*background:url(prodrop2/down.gif) no-repeat right top;*/}
.menu2 li a.top_link:hover {color:#fff; background:url(http://img69.xooimage.com/files/c/9/6/fondo2mhover-2b2febb.png);}
.menu2 li a.top_link:hover span { background:url(http://img67.xooimage.com/files/6/8/5/fondomhover-2b2c534.png)}
.menu2 li a.top_link:hover span.down { background:url(http://img69.xooimage.com/files/c/9/6/fondo2mhover-2b2febb.png)}
.menu2 li:hover > a.top_link {color:#ffffff; background:url(http://img69.xooimage.com/files/c/9/6/fondo2mhover-2b2febb.png);}
.menu2 li:hover > a.top_link span {background:url(http://img69.xooimage.com/files/c/9/6/fondo2mhover-2b2febb.png);}
.menu2 li:hover > a.top_link span.down {background:url(http://img69.xooimage.com/files/c/9/6/fondo2mhover-2b2febb.png);}
.menu2 table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}
/* Default link styling */
/* Style the list OR link hover. Depends on which browser is used */
.menu2 a:hover {visibility:visible;}
.menu2 li:hover {position:relative; z-index:200;}
/* keep the 'next' level invisible by placing it off screen. */
.menu2 ul,
.menu2 :hover ul ul,
.menu2 :hover ul :hover ul ul,
.menu2 :hover ul :hover ul :hover ul ul,
.menu2 :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}
.menu2 :hover ul.sub {left:6px; top:25px; background: #fff; padding:0; /*border:1px solid #460000; white-space:nowrap;*/ width:auto; height:auto; font-weight:normal;}
.menu2 :hover ul.sub li {display:block; /*height:20px; */position:relative; float:left; width:160px; border-bottom:1px solid #460000; border-left:1px solid #460000; border-right:1px solid #460000; margin-bottom:0;}
.menu2 :hover ul.sub li a {display:block; height:auto; font-size:11px; padding:4px 3px; line-height:1; color:#460000; text-decoration:none;}
.menu2 :hover ul.sub li a.fly {background:#fff url(http://img73.xooimage.com/files/e/4/b/vineta2-2b2fef1.png) no-repeat 150px 6px;}
.menu2 :hover ul.sub li a:hover {background:#ffffff; color:#460000;}
.menu2 :hover ul.sub li a.fly:hover {background:#ffffff url(http://img73.xooimage.com/files/e/4/b/vineta2-2b2fef1.png) no-repeat 150px 6px;}
.menu2 :hover ul li:hover > a.fly {background:#ffffff}
.menu2 :hover ul :hover ul,
.menu2 :hover ul :hover ul :hover ul,
.menu2 :hover ul :hover ul :hover ul :hover ul,
.menu2 :hover ul :hover ul :hover ul :hover ul :hover ul
{left:160px; top:-1px; background: #ffffff; padding:0; /* white-space:nowrap; */width:auto; z-index:300; height:auto;}
.menu2 :hover ul.sub li ul {border-top:1px solid #460000; background: #ffffff; z-index:300;}
</style>
</head>
<body>
<div id="marco">
<span class="preload2"></span>
<!--MENU-->
<ul class="menu2">
<li class="top"><a href="#" id="Menu1" class="top_link"><span class="down">Menu1</span>
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul class="sub">
<li class="mid"><a href="#" class="fly">Link 1.1
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="#">Link 1.1.1</a></li>
<li><a href="#">Link 1.1.2</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li class="mid"><a href="#" class="fly">Link 1.2
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="#">Link 1.2.1</a></li>
<li><a href="#">Link 1.2.2</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li><a href="#">Link 1.3</a></li>
<li><a href="#">Link 1.4</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li class="top"><a href="#" id="Menu2" class="top_link"><span class="down">Menu2</span>
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul class="sub">
<li><a href="#">Link 2.1</a></li>
<li class="mid"><a href="#" class="fly">Link 2.2
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="#">Link 2.2.1</a></li>
<li><a href="#">Link 2.2.2</a></li>
</ul>
<li class="mid"><a href="#" class="fly">Link 2.3
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="#">Link 2.3.1</a></li>
<li><a href="#">Link 2.3.2</a></li>
</ul>
<li><a href="#">Link 2.4</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li class="top"><a href="#" id="Menu3" class="top_link"><span class="down">Menu3</span>
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul class="sub">
<li><a href="#">Link 3.1</a></li>
<li><a href="#">Link 3.2</a></li>
<li class="mid"><a href="#" class="fly">Link 3.3
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="#">Link 3.3.1</a></li>
<li><a href="#">Link 3.3.2</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li class="mid"><a href="#" class="fly">Link 3.4
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="#">Link 3.4.1</a></li>
<li><a href="#">Link 3.4.2</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul class="sub">
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul>
<!-- FIN MENU-->
</div>
Código:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
body {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
}
#marco {
width:455px;
margin:10px 0;
padding:0px;
text-align:left;
}
#marco { width:500px; margin:10px 0; padding:0px; text-align: left;}
/*Credits: CSSplay */
/*URL:
http://www.cssplay.co.uk/menus/pro_drop2 */
.preload2 {background: url(http://img70.xooimage.com/files/3/0/3/fondo1mhover-2b2fa86.png);}
.menu2 {padding:0; margin:0; margin-bottom:0; list-style:none; height:25px; background:#ffffff url(http://img70.xooimage.com/files/3/0/3/fondo1mhover-2b2fa86.png) repeat-x; position:relative; font-family:arial, verdana, sans-serif; }
.menu2 li.top {display:block; float:left; position:relative;}
.menu2 li a.top_link {display:block; float:left; height:25px; margin-left:6px; line-height:25px; color:#ffffff; text-decoration:none; font-size:11px; font-weight:bold; padding:0 0 0 6px; cursor:pointer;}
.menu2 li a.top_link span {float:left; display:block; padding:0 10px 0 6px; height:40px;}
.menu2 li a.top_link span.down {float:left; display:block; padding:0 10px 0 6px; height:25px;/*background:url(prodrop2/down.gif) no-repeat right top;*/}
.menu2 li a.top_link:hover {color:#fff; background:url(http://img70.xooimage.com/files/3/0/3/fondo1mhover-2b2fa86.png);}
.menu2 li a.top_link:hover span { background:url(http://img70.xooimage.com/files/3/0/3/fondo1mhover-2b2fa86.png)}
.menu2 li a.top_link:hover span.down { background:url(http://img70.xooimage.com/files/3/0/3/fondo1mhover-2b2fa86.png)}
.menu2 li:hover > a.top_link {color:#ffffff; background:url(http://img70.xooimage.com/files/3/0/3/fondo1mhover-2b2fa86.png);}
.menu2 li:hover > a.top_link span {background:url(http://img70.xooimage.com/files/3/0/3/fondo1mhover-2b2fa86.png);}
.menu2 li:hover > a.top_link span.down {background:url(http://img70.xooimage.com/files/3/0/3/fondo1mhover-2b2fa86.png);}
.menu2 table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}
/* Default link styling */
/* Style the list OR link hover. Depends on which browser is used */
.menu2 a:hover {visibility:visible;}
.menu2 li:hover {position:relative; z-index:200;}
/* keep the 'next' level invisible by placing it off screen. */
.menu2 ul,
.menu2 :hover ul ul,
.menu2 :hover ul :hover ul ul,
.menu2 :hover ul :hover ul :hover ul ul,
.menu2 :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}
.menu2 :hover ul.sub {left:6px; top:25px; background: #fff; padding:0; /*border:1px solid #1E8BB5; white-space:nowrap;*/ width:auto; height:auto; font-weight:normal;}
.menu2 :hover ul.sub li {display:block; /*height:20px; */position:relative; float:left; width:160px; border-bottom:1px solid #004600; border-left:1px solid #004600; border-right:1px solid #004600; margin-bottom:0;}
.menu2 :hover ul.sub li a {display:block; height:auto; font-size:11px; padding:4px 3px; line-height:1; color:#004600; text-decoration:none;}
.menu2 :hover ul.sub li a.fly {background:#fff url(http://img72.xooimage.com/files/a/8/1/vineta1-2b2fb46.png) no-repeat 150px 6px;}
.menu2 :hover ul.sub li a:hover {background:#ffffff; color:#004600;}
.menu2 :hover ul.sub li a.fly:hover {background:#ffffff url(http://img72.xooimage.com/files/a/8/1/vineta1-2b2fb46.png) no-repeat 150px 6px;}
.menu2 :hover ul li:hover > a.fly {background:#ffffff}
.menu2 :hover ul :hover ul,
.menu2 :hover ul :hover ul :hover ul,
.menu2 :hover ul :hover ul :hover ul :hover ul,
.menu2 :hover ul :hover ul :hover ul :hover ul :hover ul
{left:160px; top:-1px; background: #004600; padding:0; /* white-space:nowrap; */width:auto; z-index:300; height:auto;}
.menu2 :hover ul.sub li ul {border-top:1px solid #004600; background: #ffffff; z-index:300;}
</style>
</head>
<body>
<div id="marco">
<span class="preload2"></span>
<!--MENU-->
<ul class="menu2">
<li class="top"><a href="#" id="Menu1" class="top_link"><span class="down">Menu1</span>
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul class="sub">
<li class="mid"><a href="#" class="fly">Link 1.1
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="#">Link 1.1.1</a></li>
<li><a href="#">Link 1.1.2</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li class="mid"><a href="#" class="fly">Link 1.2
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="#">Link 1.2.1</a></li>
<li><a href="#">Link 1.2.2</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li><a href="#">Link 1.3</a></li>
<li><a href="#">Link 1.4</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li class="top"><a href="#" id="Menu2" class="top_link"><span class="down">Menu2</span>
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul class="sub">
<li><a href="#">Link 2.1</a></li>
<li class="mid"><a href="#" class="fly">Link 2.2
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="#">Link 2.2.1</a></li>
<li><a href="#">Link 2.2.2</a></li>
</ul>
<li class="mid"><a href="#" class="fly">Link 2.3
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="#">Link 2.3.1</a></li>
<li><a href="#">Link 2.3.2</a></li>
</ul>
<li><a href="#">Link 2.4</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li class="top"><a href="#" id="Menu3" class="top_link"><span class="down">Menu3</span>
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul class="sub">
<li><a href="#">Link 3.1</a></li>
<li><a href="#">Link 3.2</a></li>
<li class="mid"><a href="#" class="fly">Link 3.3
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="#">Link 3.3.1</a></li>
<li><a href="#">Link 3.3.2</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<li class="mid"><a href="#" class="fly">Link 3.4
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
<li><a href="#">Link 3.4.1</a></li>
<li><a href="#">Link 3.4.2</a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
<ul class="sub">
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul>
<!-- FIN MENU-->
</div>
los links de las imagenes son diferentes, miren:
http://img67.xooimage.com/files/6/8/5/fondomhover-2b2c534.png
http://img70.xooimage.com/files/3/0/3/fondo1mhover-2b2fa86.png
http://img69.xooimage.com/files/c/9/6/fondo2mhover-2b2febb.png