Foros del Web » Creando para Internet » Herramientas y Software »

Poner tablas en una celda larga?

Estas en el tema de Poner tablas en una celda larga? en el foro de Herramientas y Software en Foros del Web. Quiero poner varias tablas sobre una celda horizontal larga, pero al poner la segunda tabla, ésta se va hacia arriba de la anterior y no ...
  #1 (permalink)  
Antiguo 27/12/2006, 20:37
 
Fecha de Ingreso: febrero-2004
Mensajes: 43
Antigüedad: 20 años, 2 meses
Puntos: 0
Pregunta Poner tablas en una celda larga?

Quiero poner varias tablas sobre una celda horizontal larga, pero al poner la segunda tabla, ésta se va hacia arriba de la anterior y no me permite colocarla en forma horizontal, alguien puede indicarme porque sucece esto y no puedo poner las tablas horizontalmente?
Gracias!!
Village
  #2 (permalink)  
Antiguo 28/12/2006, 10:58
Avatar de kazafun  
Fecha de Ingreso: diciembre-2003
Ubicación: Elda
Mensajes: 843
Antigüedad: 20 años, 4 meses
Puntos: 13
Re: Poner tablas en una celda larga?

Esa estructura de tablas parece muy compleja. ¿Has valorado si esta justificado en tu web ese modelo de tablas?

Si fuera asi, puedes probar a ponerle a la tabla

display:inline;

...aunque no estoy seguro de si es correcto para una tabla... prueba :)
__________________
MUERTE a Internet Explorer


Mi portfolio de diseño web en Elda
  #3 (permalink)  
Antiguo 28/12/2006, 11:42
Avatar de McBlink  
Fecha de Ingreso: noviembre-2006
Ubicación: $ARG->LaPampa()
Mensajes: 1.694
Antigüedad: 17 años, 5 meses
Puntos: 23
Re: Poner tablas en una celda larga?

Hola Village..

primero.. queria decir que no entiendo bien lo que puso KAZAFUN.. pero buenoi.. aca te dejo el codigo para que veas si te sirve.. le puse nombre a cada celda para que te ubiques y puedas agregar mas.. o quitarle.. siguiendo la linea de

<TR>

<TD>.........</TD>

</TR>

aca te dejo el codigo..

Código HTML:
<DIV style="position:absolute;left:179px;top:88px;width:624px;height:240px;z-index:1" align="left">
<TABLE width="100%" height="100%" border="1" cellpadding="0" cellspacing="1">
<TR>
<TD align="left" valign="top" width="620" height="236">CELDA GRANDE </TD>
</TR>
</TABLE></DIV>
<DIV style="position:absolute;left:204px;top:115px;width:205px;height:149px;z-index:2" align="left">
<TABLE width="100%" height="100%" border="1" cellpadding="0" cellspacing="1">
<TR>
<TD align="left" valign="top" width="100" height="72">111</TD>
<TD align="left" valign="top" width="100" height="72">222</TD>
</TR>
<TR>
<TD align="left" valign="top" width="100" height="72">333</TD>
<TD align="left" valign="top" width="100" height="72">444</TD>
</TR>
</TABLE></DIV>
<DIV style="position:absolute;left:541px;top:117px;width:173px;height:178px;z-index:3" align="left">
<TABLE width="100%" height="100%" border="1" cellpadding="0" cellspacing="1">
<TR>
<TD align="left" valign="top" width="84" height="34">555</TD>
<TD align="left" valign="top" width="84" height="34">666</TD>
</TR>
<TR>
<TD align="left" valign="top" width="84" height="34">777</TD>
<TD align="left" valign="top" width="84" height="34">888</TD>
</TR>
<TR>
<TD align="left" valign="top" width="84" height="34">999</TD>
<TD align="left" valign="top" width="84" height="34">&nbsp;</TD>
</TR>
<TR>
<TD align="left" valign="top" width="84" height="34">10</TD>
<TD align="left" valign="top" width="84" height="34">11</TD>
</TR>
<TR>
<TD align="left" valign="top" width="84" height="34">12</TD>
<TD align="left" valign="top" width="84" height="34">13</TD>
</TR>
</TABLE></DIV> 

ponlo entre las etiqutas HEAD Y /HEAD..

saludos!
Espero haberte ayudado..
Mc
  #4 (permalink)  
Antiguo 29/12/2006, 05:13
Avatar de kazafun  
Fecha de Ingreso: diciembre-2003
Ubicación: Elda
Mensajes: 843
Antigüedad: 20 años, 4 meses
Puntos: 13
Re: Poner tablas en una celda larga?

No me extraña que no me entiendas :)
__________________
MUERTE a Internet Explorer


Mi portfolio de diseño web en Elda
  #5 (permalink)  
Antiguo 29/12/2006, 05:46
Avatar de Shade  
Fecha de Ingreso: noviembre-2006
Mensajes: 262
Antigüedad: 17 años, 6 meses
Puntos: 1
Re: Poner tablas en una celda larga?

Cita:
Iniciado por kazafun Ver Mensaje
No me extraña que no me entiendas :)
Joz, lo que se refiere kazafun es que le crees un estilo css propio a la td (asignandole un id) y uses display:inline, sino... puedes crear un <p> o un <span> dentro del td que englobe a las tablas (aunque esta solucion sea mas "guarrilla").
  #6 (permalink)  
Antiguo 29/12/2006, 10:33
Avatar de DragonX
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Funkyland
Mensajes: 8.433
Antigüedad: 22 años
Puntos: 177
Re: Poner tablas en una celda larga?

Código PHP:
<DIV style="position:absolute;left:179px;top:88px;width:624px;height:240px;z-index:1" align="left"> <TABLE width="100%" height="100%" border="1" cellpadding="0" cellspacing="1"> <TR> <TD align="left" valign="top" width="620" height="236">CELDA GRANDE </TD> </TR> </TABLE></DIV> <DIV style="position:absolute;left:204px;top:115px;width:205px;height:149px;z-index:2" align="left"> <TABLE width="100%" height="100%" border="1" cellpadding="0" cellspacing="1"> <TR> <TD align="left" valign="top" width="100" height="72">111</TD> <TD align="left" valign="top" width="100" height="72">222</TD> </TR> <TR> <TD align="left" valign="top" width="100" height="72">333</TD> <TD align="left" valign="top" width="100" height="72">444</TD> </TR> </TABLE></DIV> <DIV style="position:absolute;left:541px;top:117px;width:173px;height:178px;z-index:3" align="left"> <TABLE width="100%" height="100%" border="1" cellpadding="0" cellspacing="1"> <TR> <TD align="left" valign="top" width="84" height="34">555</TD> <TD align="left" valign="top" width="84" height="34">666</TD> </TR> <TR> <TD align="left" valign="top" width="84" height="34">777</TD> <TD align="left" valign="top" width="84" height="34">888</TD> </TR> <TR> <TD align="left" valign="top" width="84" height="34">999</TD> <TD align="left" valign="top" width="84" height="34">&nbsp;</TD> </TR> <TR> <TD align="left" valign="top" width="84" height="34">10</TD> <TD align="left" valign="top" width="84" height="34">11</TD> </TR> <TR> <TD align="left" valign="top" width="84" height="34">12</TD> <TD align="left" valign="top" width="84" height="34">13</TD> </TR> </TABLE></DIV


Hacele caso a kazafun
__________________
Desarrollos dosLotos
Calendario Maya, Meditación, Osho
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 00:24.