Ver Mensaje Individual
  #3 (permalink)  
Antiguo 15/10/2010, 21:22
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 9 meses
Puntos: 1567
Respuesta: Celdas con desplegable

Anonimo12


Creo que estás haciéndolo algo complejo y usando tags innecesarios, prueba esto:


Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es" >
  4. <title>Expandir</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <meta http-equiv="Content-Style-Type" content="text/css" />
  7. <meta http-equiv="Content-Script-Type" content="text/javascript" />
  8. </head>
  9. <table border="3" summary="Tabla">
  10. <tr>
  11. <th width="650" height="30" align="center" style="cursor: pointer;"onclick="this.getElementsByTagName('div')[0].style.display=((this.getElementsByTagName('div')[0].style.display=='none')?'':'none');">
  12. Título 1<br />
  13. <div style="display:none; text-align: left"><br />ESTE ES EL TEXTO QUE SE COLOCA A LA DERECHA</div></th>
  14. </tr>
  15. <tr>
  16. <td width="500" height="30">Título 2</td>
  17. </tr>
  18. <tr>
  19. <td width="500" height="30">Título 3</td>
  20. </tr>
  21. </body>
  22. </html>


Saludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.