Forum How do I...?

Element fills the rest of the page

felix456
My problem is quite simple, but I haven't found the solution to it yet.

How do you get the second div to fill the space between the two other?

Here is the sample HTML :

<div>This is some content</div>
<div style="border:5px solid red;">This should fill the rest of the page</div>
<div style="float: bottom; height: 1.5cm">this will go at the bottom of the last page</div>

I have tried some tricks with relative position with top and bottom to 0, but nothing has worked very well.

I am using princexml 8.1 rev 4.

Thank you for your help.
mikeday
I think this will be quite difficult if you don't know the height of the first div.