Ver Mensaje Individual
  #3 (permalink)  
Antiguo 15/04/2011, 17:17
conexion
 
Fecha de Ingreso: febrero-2011
Mensajes: 54
Antigüedad: 13 años, 1 mes
Puntos: 13
Respuesta: Width con porcentaje en IE

No me queda nada claro tus necesidades al hacer esas divisiones pero te digo que a mí esto, tal como está, me funciona perfectamente en ie (6, 7 y 8):

Código HTML:
<!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 content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>5 columnas al 20%</title>
<style type="text/css">
html, body {
	width: 100%; 
	height: 100%; 
	margin: 0; 
	padding: 0; 
	overflow: hidden; 
}
.caja {
	width: 20%;
	height:100%;
	float: left;
	background-color: #f00;
}
.cajabis {
	width: 20%;
	height:100%;
	float: left;
	background-color: #0ff;
}
</style>
</head>

<body>
<p>Testado en ie6, ie7 y ie8 y firefox, etc</p>

<div class="caja">1</div>
	<div class="cajabis">2</div>
		<div class="caja">3</div>
			<div class="cajabis">4</div>
				<div class="caja">5</div>
</body>

</html> 
Pruébalo haciendo un copy-paste en un html nuevo.