Ver Mensaje Individual
  #8 (permalink)  
Antiguo 01/09/2013, 17:25
Avatar de jor_0203
jor_0203
 
Fecha de Ingreso: octubre-2011
Ubicación: mexico
Mensajes: 760
Antigüedad: 12 años, 6 meses
Puntos: 8
Respuesta: como hacer para que un div se adapte total a la pantalla del navegador

ya encontré el como, me gustaria saber su opinion y espero que haya otra opciones
Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>Documento sin t&iacute;tulo</title>
  5. <style type="text/css">
  6. <!--
  7. html {
  8.     height: 100%;
  9. }
  10. body {
  11.     background-color: #FF9900;
  12.     height: 100%;
  13.     margin-top: 0px;
  14. }
  15. #contenedor {
  16.    width: 100%;
  17.    height: 100%;
  18.    background-color: #0099FF;
  19.    
  20. }
  21.  
  22. -->
  23. </head>
  24.  
  25. <div id="contenedor">
  26.  
  27. </div>
  28. </body>
  29. </html>