Ver Mensaje Individual
  #4 (permalink)  
Antiguo 23/04/2006, 13:13
furoya
(Desactivado)
 
Fecha de Ingreso: noviembre-2002
Ubicación: Ciudad Autónoma de Buenos Aires
Mensajes: 2.367
Antigüedad: 21 años, 5 meses
Puntos: 317
Hola Mikele777 , kalijunfan :

No entiendo qué no funciona.

Código:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title>IMAGEN ESCALABLE. </title>
<style type="text/css">
body{width:100%; height:100%; }

#alfa {width:100%; hei¬ght:100%; }

#bravo {width:100%; hei¬ght:100%; }

#charly {width:55%; }

#delta {width:100%; height:100%; }

#eco {width:45%; }


</style>
</head>
<body>
<table width="100%" border="1" cellspacing="0" cellpadding="0">
<tbody id=bravo>
<tr>
<td id=charly><img id=delta src="http://www.forosdelweb.com/images/vbulletin3_logo_fdw.gif " /></td>
<td id=eco>&nbsp;</td>
</tr>
</tbody>
</table>

<p>.</p>

<table id=alfa border="1" cellspacing="0" cellpadding="0">
<tr>
<td width="55%"><img src="http://www.forosdelweb.com/images/vbulletin3_logo_fdw.gif " width="100%" height="100%" /></td>
<td width="45%">&nbsp;</td>
</tr>
</table>

</body>
</html>
Lo que además me parece extraño es que la tabla tenga un 100% y la celda un 55 ó 45%. Pero debe ser porque es un ejemplo.

[EDIT]

Ah!. Creo que ya entiendo, el error es que asignas una altura a la imagen. El IE le da la de la celda, pero FF no, por alguna razón no lo interpreta y la carga con su tamaño proporcional.

[[/EDIT]

Última edición por furoya; 27/04/2006 a las 15:25