Ver Mensaje Individual
  #13 (permalink)  
Antiguo 02/09/2013, 08:14
PHPeros
Colaborador
 
Fecha de Ingreso: septiembre-2013
Ubicación: España
Mensajes: 3.648
Antigüedad: 10 años, 7 meses
Puntos: 578
Respuesta: como hacer para que un div se adapte total a la pantalla del navegador

Código:
<!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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin t&iacute;tulo</title>
<style type="text/css">
body {
    background-color: #FF9900;
}
#contenedor {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #0099FF;
}
</style>
</head>
 
<body>
<div id="contenedor">
Dame unos punticos por facilitarte un poco la vida ;)
</div>
</body>
</html>