Foros del Web » Creando para Internet » CSS »

height 100%

Estas en el tema de height 100% en el foro de CSS en Foros del Web. Buenas noches a todos!!! Estoy trabajando en un proyecto web y me surgió un problema que tiene que ver con el alto de mi contenedor ...
  #1 (permalink)  
Antiguo 25/04/2012, 19:50
 
Fecha de Ingreso: julio-2009
Mensajes: 55
Antigüedad: 14 años, 9 meses
Puntos: 0
height 100%

Buenas noches a todos!!! Estoy trabajando en un proyecto web y me surgió un problema que tiene que ver con el alto de mi contenedor no logro que ocupe el 100%, cuando achico el navegador y aparece el scroll el contenedor deja de estar al 100%, les dejo parte de mi css para ver si alguien me puede sugerir algo, desde ya gracias a todos!!


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0px;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: Lato, sans-serif;
}

body:nth-of-type(1) #biblio {
width: 325px;
}

body:nth-of-type(1) #foot {
width: 325px;
}

body:nth-of-type(1) html, body {
height: 325px;
}

html{
height:100%;
}

body{
margin:0px;
text-align:center;
height:100%;
}

/*
LINKS Y CONTENEDOR
*/

A:link {text-decoration:none;color:#333;}
A:visited {text-decoration:none;color:#4B4B4B;}
A:active {text-decoration:none;color:#999;}
A:hover {text-decoration:none;color:#666;}

#contenedor{
width:1100px;
text-align:left;
margin-left:auto;
margin-right:auto;
height:auto;
min-height:100%;
background-color:#FFF;
}

Etiquetas: height, hover, html, fondo
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 23:00.