Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/11/2008, 08:59
Trutxof
 
Fecha de Ingreso: agosto-2006
Mensajes: 191
Antigüedad: 17 años, 8 meses
Puntos: 3
Respuesta: height liquido en divs

Bueno, seguramente es una chapucilla paro tal vez te valga:

Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Prueba</title>
<style type="text/css">
	*{margin:0;padding0;}
	html,body{height:100%;}
	#contenedor{position:relative; width:100%; height:100%; background-color:#0000ff;}
	#arriba{position:absolute; width: 90%; height: 100px; background-color: #ff0000; z-index: 50;}
	#debajo{position:absolute; width: 95%; height: 100%; background-color: #00ff00;}
	p.primerparrafo{margin-top: 110px;}
</style>
</head>
<body>

<div id="contenedor">
	<div id="arriba"></div>
	<div id="debajo"><p class="primerparrafo">El texto se escribirá debajo del DIV "arriba"</p></div>
</div>


</body>
</html> 
__________________
El mejor consejo lo da la experiencia, aunque este siempre llega tarde.
Cacharreando con Joomla