Ver Mensaje Individual
  #3 (permalink)  
Antiguo 16/02/2010, 18:10
rctmac
 
Fecha de Ingreso: agosto-2008
Mensajes: 12
Antigüedad: 15 años, 7 meses
Puntos: 1
Respuesta: Cambia la altura en IE pero no en FF.

Cambia tu codigo un poco:
<html>
<head>
<title>Prueba</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
#alrededor
{
background-color:#009900;
height:auto;
margin-left:auto;
margin-right:auto;
width:960px;
position:relative;
overflow:hidden;/* para que no se sobrepongan los divs */
}
#izquierda {
background-color:#F8F8F8;
width:260px;
height:auto;/* dale un tamaño auto en el alto */
float:left;
}

#derecha {
background-color:#87CEEB;
width:700px;
height:auto; /* dale un tamaño auto en el alto */
float:left;
}
/* para q en ff no te muestre los paddings o margins predefinidos */
p {
margin:0;
padding:0;
}

-->
</style>
</head>
<div id="alrededor">
<div id="izquierda">
<p>izquierda</p>
<p>izquierda</p>
</div>
<div id="derecha">
<p>derecha</p>
</div>
</div>
<body>
</body>
</html>