Ver Mensaje Individual
  #4 (permalink)  
Antiguo 04/11/2009, 17:20
Avatar de deirdre
deirdre
 
Fecha de Ingreso: mayo-2009
Mensajes: 690
Antigüedad: 15 años
Puntos: 45
Respuesta: En IE la capa de la derecha se desplaza hacia abajo

Segunda: valores en píxeles

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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Propuesta con valores en pixeles</title>

<style type="text/css">
* {
	margin: 0;
	padding: 0;
}
html, body {
	width: 100%;
	height: 100%;
	overflow: auto;
}
#contenedor {
	width: 960px;
	margin: 0 auto;
	border: 1px solid;
	overflow: hidden;
}
#izquierda {
	float: left;
	border: 1px solid;
	width: 300px;
	margin: 5px;
}
#derecha {
	border: 1px solid;
	width: 500px;
	margin: 5px 5px 5px 310px;
}
</style>
</head>

<body>

<div id='contenedor'>
	<div id='izquierda'>
		En la izquierda
	</div>

	<div id='derecha'>
		En la derecha
	</div>
</div>
</body>

</html> 
Bye