Ver Mensaje Individual
  #6 (permalink)  
Antiguo 01/09/2013, 15:11
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

<!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 {
width: 100%;
height: 100%;
background-color: #0099FF;
}

-->
</style>
</head>

<body>
<div id="contenedor">quiero que se adapte al cho y largo de alto del navegador y es de color azul</div>
</body>
</html>