Ver Mensaje Individual
  #3 (permalink)  
Antiguo 05/10/2010, 05:44
opzina
 
Fecha de Ingreso: marzo-2008
Mensajes: 1.020
Antigüedad: 16 años, 1 mes
Puntos: 21
Respuesta: Footer... margin-top: auto

Para mi lo mejor para hacer eso sería poner todo dentro de un contenedor:

Código:
#contenedor {
	position: relative !important;
	min-width: 1080px;
	width: 100%;
	min-height: 900px;
	height: auto !important;
	height: 100%;
	padding-bottom: 40px !important;
}

#footer {	
	clear: both;
	width: 100%;
	position: relative;
	bottom: 0 !important;
	bottom: -1px;
	height: 260px;
	text-align: left;
	margin-top: 25px;
	margin-bottom: -50px;
}

#footer-content {
	width: 960px;
	height: inherit;
}
Código HTML:

<div id="contenedor"> //abro el contenedor

<div id="header">HEADER</div>
<div id="header">CONTENIDO PRINCIPAL</div>
<div id="header">FOOTER PEGADO AL CONTENEDOR</div>

</div> // Cierro el Contenedor