Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/07/2004, 07:23
Avatar de PatomaS
PatomaS
Colaborador
 
Fecha de Ingreso: marzo-2004
Ubicación: En alguna otra parte
Mensajes: 4.656
Antigüedad: 20 años, 1 mes
Puntos: 63
Hola

Aquí te paso una página de ejemplo en la que puedes ver una tabla al 100% de la pantalla y dentro de ella, un iframe al 100% de altura dentro de la tabla.

Código:
<?xml version="1.0" encoding="iso-8859-1"?>
<!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>
<style type="text/css">
* {
	border: 0px;
	margin: 0px;
	padding: 0px;
}
.miMarco {
	width: 100%;
	height: 100%;
	border: 1px solid #ff0000;
}
#tabla {
	width: 100%;
	height: 100%;
	border: 1px solid #00ff00;
}
</style>
<script type="text/javascript">
<!--
	function redimensionar() {
		if (navigator.appName == 'Microsoft Internet Explorer') {
			document.getElementById('tabla').style.height = '100%';
		} else  {
			document.getElementById('tabla').style.height = window.innerHeight + 'px';
		}
	}
//-->
</script>
<title>Documento sin t&iacute;tulo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>

<body onload="javascript:redimensionar()">
<table id="tabla">
     <tr>
          <td style="width: 20%;">&nbsp;</td>
          <td style="width: 60%; height: 80%;">
			<iframe class="miMarco" src="Untitled-3.htm"></iframe>
		</td>
          <td style="width: 20%;">&nbsp;</td>
     </tr>
</table>
</body>
</html>
Funciona en:
Explorer 6.0 sp1
firefox 0.8
firefox 0.9
netscape 7.0

No funciona en:
Opera 7.23
firebird 0.7
netscape 4.x

Espero que te sirva.

Felicidad
__________________
¡ hey, hou, hou, hey !