Ver Mensaje Individual
  #17 (permalink)  
Antiguo 02/09/2013, 08:27
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

Cita:
Iniciado por PHPeros Ver Mensaje
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>
esto esta genial hermano
muy bueno