I have this simplified code:
This is a line of text<br/>
<div style="background-color: orange; height: 100%">And this is a div</div>
The div height ends up being 100% of the height of the browser window client space, which summed up with the height of the text line, is more than the window height, so you have to scroll.
How can I make the div height so it takes the height of the browser window minus the line of text?
Or, in other words, how can I make the div take all the free space vertically regarding what other DOM objects already occupy?