Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/03/2015, 15:34
esquerda21
 
Fecha de Ingreso: enero-2006
Mensajes: 49
Antigüedad: 18 años, 10 meses
Puntos: 0
que selector usar

Hola de nuevo,
La idea es que cuando haga click en el DIV la propiedad de overflow cambie sobre el mismo DIV.
Pego la idea...

Código:
<body>
<style>
.recuadro-blog {overflow:hidden;}
div#titulo-blog:focus>.recuadro-blog {overflow:visible;}
</style>

<h3 id="titulo-blog" tabindex="0">demo con focus</h3>
<div id="titulo-blog" class="recuadro-blog" style="width:auto; height:200px">
  	<h1>hola</h1>
  	<p>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<br>
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<br>
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<br>
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<br>
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<br>
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<br>
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<br>
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<br>
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<br></p>
    <h2>QUETAL</h2>
</div>
</body>
Gracias