Ver Mensaje Individual
  #3 (permalink)  
Antiguo 25/09/2008, 09:11
cmarrero
(Desactivado)
 
Fecha de Ingreso: enero-2008
Ubicación: Mendoza
Mensajes: 458
Antigüedad: 16 años, 2 meses
Puntos: 2
Respuesta: Maquetar una web con DIV como si fueran frames

claro, precisamente el problema es el height del central, ya que deve ser relativo para que siempre y sin importar el tamaño del navegador este pegado arriba del footer y debajo de la cabecera..

Lo intente asi, ahora mi problema es que el overflow sobre el content no me funciona....


Código PHP:
@charset "utf-8";
/* CSS Document */
htmlbody {
margin0;
padding0;
height100%;
overflow:hidden;
}
#container-page {
width100%;
background#DDD;
positionrelative;
min-height100%;
heightauto !important;
height100%;
}
#container-header {
width100%;
background#CCC;
positionabsolute;
top:!important;
top: -1px;
height:130px;
}
#container-content {
padding-top130px;
padding-bottom40px;
overflowscroll;
}
#container-foot {
width100%;
background#CCC;
positionabsolute;
bottom!important;
bottom: -1px;
height40px;

Y mis divs en index.html es asi

Código PHP:
<!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>MAKERS ADMINISTRACION</title>
<
link href="css/central.css" rel="stylesheet" type="text/css" media="all" />
</
head>
<
body>
<
div id="container-page">
    <
div id="container-header"></div>
    <
div id="container-content">Content</div>
    <
div id="container-foot">Foot</div>
</
div>

</
body>
</
html