Foros del Web » Creando para Internet » Diseño web »

Duda sobre <Div>

Estas en el tema de Duda sobre <Div> en el foro de Diseño web en Foros del Web. gente necesito hacer una tabla de 5filas*5columnas y quisiera hacerla en DIV pero no encuentro ningun manual y el tiempo me juega en contra y ...
  #1 (permalink)  
Antiguo 24/11/2008, 16:03
Usuario no validado
 
Fecha de Ingreso: noviembre-2008
Mensajes: 67
Antigüedad: 15 años, 5 meses
Puntos: 1
Duda sobre <Div>

gente necesito hacer una tabla de 5filas*5columnas y quisiera hacerla en DIV pero no encuentro ningun manual y el tiempo me juega en contra y no lo hago con una tabla ya que pese a seleccionar nowarp me modifica el tamaño de las celda. cualquier ayuda se agradece
  #2 (permalink)  
Antiguo 24/11/2008, 17:03
Avatar de Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 6 meses
Puntos: 280
Respuesta: Duda sobre <Div>

¿Es una tabla lo que necesitas hacer? es decir, ¿son datos tabulados?

Añade a la css table-layout: fixed; y no cambiarán las dimensiones por el contenido.
__________________
Visita mi nueva web idplus.org
  #3 (permalink)  
Antiguo 24/11/2008, 22:25
Usuario no validado
 
Fecha de Ingreso: noviembre-2008
Mensajes: 67
Antigüedad: 15 años, 5 meses
Puntos: 1
Respuesta: Duda sobre <Div>

hola, te cuento tengo que enviar un newsletter y se me ocurrio este codigo

<body>
<table width="674" border="0" bgcolor="#000000">
<tr>
<td width="150" height="80" nowrap="nowrap">&nbsp;</td>
<td width="17" rowspan="5" background="http://www.elcoyo.com.ar/imagenes/guarda.gif">&nbsp;</td>
<td><a href="http://www.elcoyo.com.ar/imagenes/encabezado.jpg"><img width="330" height="75" border="0" /></a></td>
<td width="17" rowspan="5" background="http://www.elcoyo.com.ar/imagenes/guarda.gif">&nbsp;</td>
<td width="150" nowrap="nowrap">&nbsp;</td>
</tr>
<tr background="http://www.elcoyo.com.ar/imagenes/guarda1.gif">
<td width="150" height="17" nowrap="nowrap">&nbsp;</td>
<td height="17" nowrap="nowrap">&nbsp;</td>
<td width="150" height="17" nowrap="nowrap">&nbsp;</td>
</tr>
<tr>
<td width="150" height="400" nowrap="nowrap">&nbsp;</td>
<td height="400" bgcolor="#000000"><span class="style1">Mensaje de Prueba</span></td>
<td width="150" height="400" nowrap="nowrap">&nbsp;</td>
</tr>
<tr background="http://www.elcoyo.com.ar/imagenes/guarda1.gif">
<td width="150" nowrap="nowrap">&nbsp;</td>
<td nowrap="nowrap">&nbsp;</td>
<td width="150" nowrap="nowrap">&nbsp;</td>
</tr>
<tr>
<td width="150" height="20" nowrap="nowrap">&nbsp;</td>
<td height="20" nowrap="nowrap">&nbsp;</td>
<td width="150" height="20" nowrap="nowrap">&nbsp;</td>
</tr>
</table>
</body>

pero hay veces que las columnas se me hachicaban cosa q nunca me paso cuando trabaje (lo poco q trabaje) con div.

el hecho es q creo q con ese codigo la tabla no se modificaria, pero no se como meterla en el mail para que me quede bien, si sabes como ayudarte te lo agradecere mucho
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 13:27.