Ver Mensaje Individual
  #6 (permalink)  
Antiguo 31/01/2011, 16:37
Avatar de IsaBelM
IsaBelM
Colaborador
 
Fecha de Ingreso: junio-2008
Mensajes: 5.032
Antigüedad: 15 años, 10 meses
Puntos: 1012
Respuesta: Como Puedo hacer dimensiones de la web

Cita:
Iniciado por jomaruro Ver Mensaje
Hola:
IsaBelM, la solución que indicas generalmente no va a solucionar el problema.

Saludos.

puede que no haya comprendido lo que moises9633 explica. como tu dominas mucho mas que yo este campo, te dejo un ejemplo de a qué me refería con unidades relativas, para que me corrijas
Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="es" xml:lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin titulo</title>
<style type="text/css">
html, body {
height: 100%;
background-color: red;
margin: 0;
}

#cont {
background-color: yellow;
min-height: 100%;
height: auto !important;
height: 100%;
max-width: 95%;
margin: 0 auto -1em;
}

#cont2 {
background-color: green;
min-height: 100%;
height: auto !important;
height: 100%;
max-width: 95%;
margin: 0 auto -1em;
}
</style>
</head>
<body>
<div align="center">
<div id="cont">
bloque contenedor
<div id="cont2">
otro bloque
</div>
</div>
</div>
</body>
</html>