Ver Mensaje Individual
  #6 (permalink)  
Antiguo 19/10/2008, 11:19
Avatar de talmente
talmente
 
Fecha de Ingreso: noviembre-2007
Mensajes: 233
Antigüedad: 16 años, 5 meses
Puntos: 4
Respuesta: Div height: 100% ?

Yo no soy muy bueno resolviendo problemas, pero si pillas el codigo que te pongo y tu escribes en tu editor web esto:

<div id="cabecera">hola</div>

<div id="contenedor">
<div id="columnadentro">
<p>pon txt </p></div>
</div>
<div="pie">soy el pie</div>

y lo miras y te fijas en que por ejemplo no hay height y haces pruebas seguro que te es util. Y te surgirán mil preguntas mas

Código:
<style type="text/css">
<!--
body, html {
	padding: 0px;
	margin-top: 0px;
	margin-right: 20px;
	margin-left: 20px;
}
#cabecera {
	background: #993399;
	width: 100%;
}
#contenedor {
	background: #99CC66;
	display: block;
	float: left;
	width: 100%;
}
#contenedor   #columnadentro    {
	display: block;
	float: left;
	width: 25%;
	background: #0099FF;
	padding: 5px;
}
#pie {
	clear: both;
	float: left;
	width: 100%;
	background: #CC0066;
}
-->
</style>