Ver Mensaje Individual
  #5 (permalink)  
Antiguo 16/01/2009, 12:39
loredis
 
Fecha de Ingreso: agosto-2008
Mensajes: 20
Antigüedad: 15 años, 8 meses
Puntos: 0
Respuesta: Links con capas ocultas

Ahora me resultó: Ocupé el código del link que dejó WillyFC



</head>
<title></title>
<style type="text/css">
* {
margin: 0;
padding: 0;
outline: 0;
}
a {
border: 2px outset #A5A5A5;
padding: 1px 8px;
text-decoration: none;
color: #000;
margin-left: 4px;
background-color: #D4D0C8;
font-size: 13px;
font-family: Arial,Helvetica,sans-serif;
line-height: 22px;
}
a:focus, a:active {
background-color: transparent;
border: 2px inset #A5A5A5;
}
a span {
position: absolute;
top: 50px;
left: 3px;
visibility: hidden;
}
a:focus span, a:active span { visibility: visible;}
</style>
</head>
<body>
<a href="#">pregunta 1<span><p>respuesta 1</p></span></a>
<a href="#">pregunta 2<span><p>respuesta 2</p></span></a>
<a href="#">pregunta 3<span><p>respuesta 3</p></span></a>
</body>


Gracias!! Ojalá que les sirva también.