Ver Mensaje Individual
  #4 (permalink)  
Antiguo 17/08/2009, 01:33
Avatar de abimaelrc
abimaelrc
Colaborador
 
Fecha de Ingreso: mayo-2009
Ubicación: En el planeta de Puerto Rico
Mensajes: 14.734
Antigüedad: 14 años, 11 meses
Puntos: 1517
Respuesta: Iframe height 100% no funcina en IE ni Firefox

Bueno lo probe y tienes razon tienes problemas con el iframe. Pero surge por el doctype, pero aun así vas a tener que usar javascript para lograr el iframe al 100%. Encontre un ejemplo en internet verifica si te es útil.
Código html:
Ver original
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es-es">
  3. <HEAD>
  4. <TITLE>Iframe with 100% height - guymal.com</TITLE>
  5. <script language="JavaScript">
  6. <!--
  7.  
  8. function resize_iframe()
  9. {
  10.     var height=window.innerWidth;//Firefox
  11.     if (document.body.clientHeight){
  12.         height=document.body.clientHeight;//IE
  13.     }
  14.     document.getElementById("iframe1").style.height=parseInt(height-document.getElementById("iframe1").offsetTop-8)+"px";//resize the iframe according to the size of the window
  15. }
  16. window.onresize=resize_iframe; //instead of using this you can use: <BODY onresize="resize_iframe()">
  17. //-->
  18. </script>
  19. </HEAD>
  20.  
  21. <BODY>
  22. <iframe src="b.html" id='iframe1' width="100%" onload='resize_iframe()'></iframe>
  23. </BODY>
  24. </HTML>

Tienes que declarar el doctype igual como te menciono. Aqui esta la pagina donde encontre el codigo
__________________
Verifica antes de preguntar.
Los verdaderos amigos se hieren con la verdad, para no perderlos con la mentira. - Eugenio Maria de Hostos