Ver Mensaje Individual
  #3 (permalink)  
Antiguo 11/05/2011, 09:05
conexion
 
Fecha de Ingreso: febrero-2011
Mensajes: 54
Antigüedad: 13 años, 2 meses
Puntos: 13
Respuesta: Div height 100% menos pixeles

Creo que algo así es lo que necesitas. Funciona en todos los browsers y en todas las resoluciones:

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>Page</title>
<style type="text/css">
html, body {
	width: 100%; 
	height: 100%; 
	margin: 0; 
	padding: 0; 
	overflow: hidden; 
	position: relative;
}
#contenedor {
	width: 960px;
	height: 100%;
	margin: 0 auto;
	border: 1px solid #444;
}
#cabecera {
	width: 960px;
	height: 30px;
	position: relative;
	top: 0;
	background-color: #0ff;
}
#centro {
	width: 960px;
	position: absolute;
	top: 30px;
	bottom: 30px;
	overflow: hidden;
	background-color: #ccc;
}
#pie {
	width: 960px;
	height: 30px;
	position: absolute;
	bottom: 0;
	background-color: #0ff;
}
#izq {
	width: 480px;
	float: left;
	background-color: #333;
	height: 100%;
	overflow: hidden;
	color: #fff;
}
#dcho {
	width: 480px;
	float: right;
	background-color: #666;
	height: 100%;
	overflow: hidden;
}
</style>
</head>

<body id="conexion_para_fdelw">
<div id="contenedor">
	<div id="cabecera">Cabecera: Esta composición funciona en todos los navegadores y en todas las resoluciones</div>
	<div id="centro">
		<div id="izq">Aquí pones el iframe</div>	
		<div id="dcho">Aquí pones el iframe</div>
	</div>
	<div id="pie">Pie</div>
</div>
</body>

</html>