tablas
Publicado por Alejo (1 intervención) el 28/02/2011 18:57:35
hola a todos estoy creando unas tablas pero tengo un problema con el tamaño de estas, yo les defino un tamaño pero aveces segun el contenido cambian su tamaño sin sabe porq
por ejemplo vean este ejemplo son 2 tablas la primera cambia totalemtne su contenido y la 2 no......
la primera el contenido no tiene epsacion ni enter es simplemente una farase largaa muy larga... hay una opcion de solucioanr esto ¿o eso e simposible?
si quiren pueden copiar el codigo y ver exactamente q es lo q digo
gracias
=======================================================================
CODIGO
=======================================================================
<table style="width:50%" border="1">
<tr>
<th style="width:20%">COLUMNA 1</th>
<th style="width:80%">COLUMNA 2</th>
</tr>
<tr>
<td style="width:20%">11111 1111111 1111111 1111111 11111111 1111111 1111111 111111111111111111111111111111111111111111111111111111</td>
<td style="width:80%">22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222</td>
</tr>
<tr>
<td style="width:20%">3</td>
<td style="width:80%">4</td>
</tr>
<tr>
<td style="width:20%">5</td>
<td style="width:80%">6</td>
</tr>
</table>
<table style="width:50%" border="1">
<tr>
<th style="width:20%">COLUMNA 1</th>
<th style="width:80%">COLUMNA 2</th>
</tr>
<tr>
<td style="width:20%">11111 1111111 1111111 1111111 11111111 1111111 1111111 1111111111111111</td>
<td style="width:80%">22222222222222222222222</td>
<tr>
<td style="width:20%">3</td>
<td style="width:80%">4</td>
</tr>
<tr>
<td style="width:20%">5</td>
<td style="width:80%">6</td>
</tr>
</table>
por ejemplo vean este ejemplo son 2 tablas la primera cambia totalemtne su contenido y la 2 no......
la primera el contenido no tiene epsacion ni enter es simplemente una farase largaa muy larga... hay una opcion de solucioanr esto ¿o eso e simposible?
si quiren pueden copiar el codigo y ver exactamente q es lo q digo
gracias
=======================================================================
CODIGO
=======================================================================
<table style="width:50%" border="1">
<tr>
<th style="width:20%">COLUMNA 1</th>
<th style="width:80%">COLUMNA 2</th>
</tr>
<tr>
<td style="width:20%">11111 1111111 1111111 1111111 11111111 1111111 1111111 111111111111111111111111111111111111111111111111111111</td>
<td style="width:80%">22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222</td>
</tr>
<tr>
<td style="width:20%">3</td>
<td style="width:80%">4</td>
</tr>
<tr>
<td style="width:20%">5</td>
<td style="width:80%">6</td>
</tr>
</table>
<table style="width:50%" border="1">
<tr>
<th style="width:20%">COLUMNA 1</th>
<th style="width:80%">COLUMNA 2</th>
</tr>
<tr>
<td style="width:20%">11111 1111111 1111111 1111111 11111111 1111111 1111111 1111111111111111</td>
<td style="width:80%">22222222222222222222222</td>
<tr>
<td style="width:20%">3</td>
<td style="width:80%">4</td>
</tr>
<tr>
<td style="width:20%">5</td>
<td style="width:80%">6</td>
</tr>
</table>
Valora esta pregunta


0