I'd like to have a page with a first div with a 100% height (no problem for this), and two divs inside that cover the whole height of the parent div. If the 2 divs had a height in percentage, there will be no problem but the fact is that I need to have one div in pixels (specific height) and one other in percentage (cover the rest).
Can I do it in CSS or should I use javascript? (I like to use only CSS when possible)
Html structure :
<html style="height: 100%;">
<head></head>
<body style="height: 100%;">
<div style="height: 100%;">
<div style="height: 40px;"></div>
<div style="height: ???"></div>
</div>
</body>
</html>
Thanks for any answer.
Ecorce