I would like to achieve a very simple thing: having 2 divs in an absolute positioned outer div.
Inner divs are header
and content
.
Header
has a fixed height (but it depends on the font size, i.e. it does not have any height attribute preset).
The goal is to set the content
to be under the header
and force it to take all the space downwards without making the page any higher than the viewport.
Please don't recommend flex properties, as I found it to be not quite browser-independent. Worked well in Firefox but in Chrome it ruined the page.
Here is the JSFiddle example: https://jsfiddle.net/danergo/qpjc3mr0/7/
Update
JSFiddle updated. What ruined flexbox is having another item in the content which wants tp use 100% height of the content.
Wha