Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/08/2008, 17:33
Avatar de Armand19
Armand19
 
Fecha de Ingreso: agosto-2008
Mensajes: 9
Antigüedad: 15 años, 8 meses
Puntos: 0
Respuesta: Hola, Problema con menu desplegable y contenido (CSS)

Lo olvidaba: Esta es la hoja de estilo de la web:

body{
background-color:#000066;
}

#wrapper{
background-color:#1086B9;
width:800px;
margin-right:auto;
margin-left:auto;
}

#encabezado{
position:relative;
}

#navegacion{
background-color:#1086B9;
width:800;
height:30px;
background-image:url(relleno4.jpg);
background-repeat:no-repeat;
background-position:top left;
}

**********LUEGO VIENEN TODO EL CODIGO PARA LOS MENUS************
.preload2 {background: url(imgmenu/button4a.gif);}
.menu2 {padding:0; margin:0; margin-bottom:0; list-style:none; height:25px; background:#fff url(imgmenu/fd_menu.gif) 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:#333; text-decoration:none; font-size:13px; 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(imgmenu/button4a.gif);}
.menu2 li a.top_link:hover span { background:url(imgmenu/button4a.gif)}
.menu2 li a.top_link:hover span.down { background:url(imgmenu/button4a.gif)}

.menu2 li:hover > a.top_link {color:#fff; background:url(imgmenu/button4a.gif);}
.menu2 li:hover > a.top_link span {background:url(imgmenu/button4a.gif);}
.menu2 li:hover > a.top_link span.down {background:url(imgmenu/button4a.gif);}


.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 #005FB9; border-left:1px solid #005FB9; border-right:1px solid #005FB9; margin-bottom:0;}
.menu2 :hover ul.sub li a {display:block; height:auto; font-size:11px; padding:4px 3px; line-height:1; color:#005FB9; text-decoration:none;}
.menu2 :hover ul.sub li a.fly {background:#fff url(imgmenu/vineta_menu.gif) no-repeat 150px 6px;}
.menu2 :hover ul.sub li a:hover {background:#E5FAFC; color:#005FB9;}
.menu2 :hover ul.sub li a.fly:hover {background:#E5FAFC url(imgmenu/vineta_menu.gif) no-repeat 150px 6px;}
.menu2 :hover ul li:hover > a.fly {background:#E5FAFC}

.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: #fff; padding:0; /* white-space:nowrap; */width:auto; z-index:300; height:auto;}
.menu2 :hover ul.sub li ul {border-top:1px solid #005FB9; background: #fff; z-index:300;}
******************AQUI TERMINAN LOS MENUS******************

#enlaces{
float:left;
width:200px;
height:100%;
background-color:#339999;
}


#areatexto{
padding-top:0px;
padding-right:5px;
padding-bottom:5px;
padding-left:0px;
margin-left:200px;
position:relative;
height:800px;
}

address{
text-align:center;
font-size:90%;
font-style:normal;
letter-spacing:1.5px;
border-top:5px solid #000099;
padding-top:10px;
}