Ver Mensaje Individual
  #4 (permalink)  
Antiguo 24/06/2013, 12:10
Avatar de ceaped
ceaped
 
Fecha de Ingreso: febrero-2004
Mensajes: 2.185
Antigüedad: 20 años, 2 meses
Puntos: 9
Respuesta: Pestaña de munú (tabs) visible

Hola pzin
Mira como tengo mi .html y .css:

Código HTML:
Ver original
  1. <span class="boton" id="una"></span>
  2.     <div class="pestanas_textos"><div>
  3.        
  4.         <p>Texto 1...</p>
  5.        
  6.         </div>
  7.         </div>
  8.        
  9.     <span class="boton" id="dos"></span>
  10.     <div class="pestanas_textos">
  11.        
  12.         <div>
  13.        
  14.         <p>Texto 2...</p>
  15.        
  16.         </div>
  17.         </div>

Código CSS:
Ver original
  1. .pestanas_textos div {
  2.     width: 700px;
  3.     height: 450px;
  4.     position: absolute;
  5.     font-size: 1em;
  6.     font-family: Arial, Helvetica, sans-serif;
  7.     margin-left: 240px;
  8.     color: #FFF;
  9.     line-height: 1.2;
  10.     z-index: 5;
  11.     opacity:0;
  12.     transition: all 1s ease;
  13.     background-color: #DFDDCE;
  14.     top: 97px;
  15.  }
  16.  
  17. .pestanas_textos .tab-e {
  18.     font-family: Arial, Helvetica, sans-serif;
  19.     font-size: 12px;
  20.     color: #543F2A;
  21.     text-align: center;
  22.     min-width: 120px;
  23.     padding: 5px;
  24.     margin-right: 18px;
  25.     text-decoration: none;
  26.     position: relative;
  27.     transition: all .5s ease;
  28.     background-color: #DFDDCE;
  29. }
  30.  
  31. a.tab-e:hover {
  32.     color: #CE4646;
  33. }
  34.  
  35.   p img {
  36.     float: left;
  37.     margin: 10px;
  38. }
  39.  
  40. .boton:target + .pestanas_textos div {
  41.     opacity: 1;
  42.     color: #543F2A;
  43.     background-color: #DFDDCE;
  44.  }

Pero no logro dejar visible la número Uno.

Gracias por tu ayuda
__________________
Diseñador Gráfico publicitario