Ver Mensaje Individual
  #5 (permalink)  
Antiguo 28/03/2015, 18:44
famjaes
 
Fecha de Ingreso: agosto-2010
Mensajes: 125
Antigüedad: 13 años, 8 meses
Puntos: 0
Respuesta: ocultar y mostrar DIV

ya lo hice, pero no me funciona
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>



<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
<style type="text/css">
.desplegable,
a[name='more']:target ~ .ver_mas {
visibility: hidden;
width:0;
height:0;
}

a[name='more']:target ~ .desplegable {
visibility: visible;
width: auto;
height: auto;



}
#apDiv1 {
position: absolute;
width: 500px;
height: 115px;
z-index: 1;
background:#000;
}
</style>
</head>

<body>

<a class="ver" href="#more">Ver</a>
<div class="extender">
<a href="#more:after">Cerrar</a>
Contenido oculto y mostrado a voluntad del usuario

<a href="#more:after">Cerrar</a>
Para poder plegarlo sin tener que subir
</div>
<div id="apDiv1"></div>

</body>

</html>

k podra estar mal?