Ver Mensaje Individual
  #2 (permalink)  
Antiguo 18/01/2009, 05:42
Avatar de jomaruro
jomaruro
Colaborador
 
Fecha de Ingreso: junio-2002
Ubicación: Naboo
Mensajes: 5.442
Antigüedad: 21 años, 10 meses
Puntos: 361
Respuesta: Pregunta sobre un div contenido

Hola:

Prueba esto, adaptándolo a tus necesidades:

Cita:
<!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=iso-8859-1" />

<title>
Sin título
</title>

<style type="text/css">
* {
padding:0;
margin:0 auto;
}

#contenedor{
width:100%;
height:100%;
min-width:100px;
min-height:200px;
background-color: blue;
}
</style>
</head>

<body>
<div id="contenedor"></div>
</body>
</html>
Saludos.