Foros del Web » Creando para Internet » HTML »

Problemas con tabla en Html

Estas en el tema de Problemas con tabla en Html en el foro de HTML en Foros del Web. Tengo problemas al realizar esta tabla,es un poco compleja.El codigo que tengo hecho es el siguiente: <TABLE WIDTH="70%" BORDER="4" COLOR="BLUE" ALIGN="LEFT"> <TR HEIGHT="45%" ALIGN="center"> <TD ...
  #1 (permalink)  
Antiguo 18/08/2005, 06:18
 
Fecha de Ingreso: agosto-2005
Mensajes: 17
Antigüedad: 18 años, 8 meses
Puntos: 0
Problemas con tabla en Html

Tengo problemas al realizar esta tabla,es un poco compleja.El codigo que tengo hecho es el siguiente:

<TABLE WIDTH="70%" BORDER="4" COLOR="BLUE" ALIGN="LEFT">
<TR HEIGHT="45%" ALIGN="center">
<TD BGCOLOR="SILVER"COLSPAN="3" ALIGN="CENTER" > TABLAS
<TR ALIGN="center">
<TD WIDTH="50%"ALIGN="left"> BORDER
<TD COLSPAN="2"ALIGN="RIGHT"> BORDER
<TR ALIGN="center">
<TD ALIGN="left"> BORDER
<TD COLSPAN="2" ROWSPAN="2" BGCOLOR="red"> TABLE
<TR ALIGN="center">
<TD ALIGN="left"> BORDER
</tr>
<tr>
<td >pepe perez</td>
<td >pepe perez</td>
<td >91 400 00 00</td>
</tr>
</TABLE>

El asunto es que la ultima fila en la que hay tres celdas, no tienen que quedar asi.La primera celda hasta la mitad de la tabla y las dos siguientes en la otra mitad sino cada una ocupando el 33% de la tabla dejando lo demas tal y como esta. A ver si me podeis echar una mano!Gracias
  #2 (permalink)  
Antiguo 18/08/2005, 13:50
 
Fecha de Ingreso: diciembre-2001
Ubicación: Peru
Mensajes: 376
Antigüedad: 22 años, 4 meses
Puntos: 0
Hola!!
Aver si es esto lo que quieres

Saludos

<TABLE WIDTH="70%" BORDER="4" COLOR="BLUE" ALIGN="LEFT">
<TR HEIGHT="45%" ALIGN="center">
<TD BGCOLOR="SILVER" ALIGN="CENTER" COLSPAN="2" > TABLAS
<TR ALIGN="center">
<TD WIDTH="50%"ALIGN="left"> BORDER
<TD ALIGN="RIGHT"> BORDER
<TR ALIGN="center">
<TD ALIGN="left"> BORDER
<TD ROWSPAN="2" BGCOLOR="red"> TABLE
<TR ALIGN="center">
<TD ALIGN="left"> BORDER
</tr>
<tr>
<td colspan="2" >pepe perez
<table border="1" width="100%" height="27">
<tr>
<td width="66%" height="21">
<div align="right">
<table border="0" width="62%">
<tr>
<td width="100%" align="right">
<p align="center">pepe perez</td>
</tr>
</table>
</div>
</td>
<td width="34%" height="21">
<table border="0" width="100%">
<tr>
<td width="63%">91</td>
<td width="137%">
<p align="right"> 400 00 00</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</TABLE>
  #3 (permalink)  
Antiguo 19/08/2005, 00:41
 
Fecha de Ingreso: agosto-2005
Mensajes: 17
Antigüedad: 18 años, 8 meses
Puntos: 0
Problemas con tabla en HTML

Gracias, pero esto no es lo que busco.Lo que busco es una tabla, donde la ultima fila tiene tres celdas que ocupan el 33% de la anchura de la tabla dejando las filas anteriores de dos celdas cada una al 50% de la tabla. Pero gracias majo
  #4 (permalink)  
Antiguo 19/08/2005, 00:51
Avatar de leoj90
Usuario baneado!
 
Fecha de Ingreso: agosto-2005
Mensajes: 1.365
Antigüedad: 18 años, 8 meses
Puntos: 0
Pregunta

No entendi lo q quieres
  #5 (permalink)  
Antiguo 19/08/2005, 01:31
Avatar de izar  
Fecha de Ingreso: enero-2004
Mensajes: 519
Antigüedad: 20 años, 2 meses
Puntos: 1
Prueba con esto


<TABLE WIDTH="70%" BORDER="4" COLOR="BLUE" ALIGN="LEFT" cellpadding="0" cellspacing="0">

<TR HEIGHT="45%" ALIGN="center">
<TD BGCOLOR="SILVER"COLSPAN="6" ALIGN="CENTER" > TABLAS
<TR>
<TD COLSPAN="3"ALIGN="left" width="50%"> BORDER
<TD COLSPAN="3"ALIGN="RIGHT"> BORDER
<TR ALIGN="center">
<TD COLSPAN="3" ALIGN="left"> BORDER
<TD COLSPAN="3" ROWSPAN="2" BGCOLOR="red"> TABLE
<TR ALIGN="center">
<TD COLSPAN="3" ALIGN="left"> BORDER
</tr>
<tr>
<td COLSPAN="2">pepe perez</td>
<td COLSPAN="2">pepe perez</td>
<td COLSPAN="2">91 400 00 00</td>
</tr>
</TABLE>


De todas formas , es necesario acorstumbrarse a cerrar todas las etiquetas que dejas abiertas: <TD>....</TD> etc

  #6 (permalink)  
Antiguo 19/08/2005, 05:52
 
Fecha de Ingreso: agosto-2005
Mensajes: 17
Antigüedad: 18 años, 8 meses
Puntos: 0
Gracias! Esto era lo que buscaba, muy amable.Se me ocurrio que podia ser con seis celdas en vez de con tres, pero tu has estado mas rapido.Muy agradecido.Saludos
  #7 (permalink)  
Antiguo 19/08/2005, 06:04
Avatar de izar  
Fecha de Ingreso: enero-2004
Mensajes: 519
Antigüedad: 20 años, 2 meses
Puntos: 1
..por cierto bienvenido a FDW.
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 21:59.