Ver Mensaje Individual
  #10 (permalink)  
Antiguo 20/12/2010, 15:08
Avatar de NUCKLEAR
NUCKLEAR
Moderador radioactivo
 
Fecha de Ingreso: octubre-2005
Ubicación: Cordoba-Argentina
Mensajes: 5.688
Antigüedad: 18 años, 6 meses
Puntos: 890
Respuesta: Como lograron 100% height?

Esta es la formula mágica que ha sido guardada celosamente y que ahora Nucklear ha develado a los ojos de los simples mortales ¬¬

Código PHP:
Ver original
  1. <html>
  2. <head>
  3.  
  4. <style type="text/css">
  5.  
  6. html{height:100%}
  7. .wrapper-1{ width:100%; height:100%;}
  8. body{
  9.     font-family:Tahoma, Geneva, sans-serif;
  10. margin:0;
  11. height:100%;
  12. overflow:hidden
  13. }
  14.  
  15. iframe[align=top]{
  16.     vertical-align: top;
  17.  
  18.     }
  19.  
  20.     iframe[frameborder=0]{
  21.  
  22.         border-width:0;
  23.         }
  24.  
  25.     .header{
  26.         height: 100px;
  27.         background-color: #ccc
  28.         }
  29. </style>
  30. </head>
  31.  
  32.  
  33. <body>
  34.  
  35.  
  36. </body>
  37.  
  38. </html>
  39. <table cellpadding=0 cellspacing=0 width="100%" height="100%">
  40.     <tr class="header">
  41.         <td><h1> Header </h1></td>
  42.     </tr>
  43.  
  44.     <tr>
  45.     <td>
  46.     <iframe
  47.     name="iframe"
  48.     src="<?php print $_GET['url'] ?>"
  49.         scrolling="auto"
  50.     align="top"
  51.     frameborder="0"
  52.     class="wrapper-1"> </iframe>
  53.  
  54.     </td>
  55.     </tr>
  56. </table>
__________________
Drupal Argentina