Ver Mensaje Individual
  #1 (permalink)  
Antiguo 08/02/2008, 05:20
NeoGeneration
 
Fecha de Ingreso: febrero-2008
Mensajes: 8
Antigüedad: 16 años, 2 meses
Puntos: 0
Maravillas del Height

Hola a todos!

Tengo un problemilla, he hecho una version corta de la web que estoy haciendo. No consiguo que el div blanco se estire hasta abajo.

Alguien puede echarme una mano? He probado con todo, pero las soluciones no me sirven. El content "wrap" funciona, se ajusta al lateral negro.

Pero el blanco ni para atras y supongo que todo se debe al float.

Un abrazo y gracias

Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body style="height:100%;">
<div style="width:100%; background-color:#FF0000; height:auto;">
<div style="margin:0 auto; width:960px; background-color:#0099CC; height:auto;">
<div style="float:left; background-color:#000000; height:900px; width:215px;"></div>
<div style="background-color:#FFFFFF; height:100%; width:745px;"></div>
</div>
</div>

</body>
</html>