This task seems deceptively simple, yet I am struggling to find a straightforward solution.
Language: (HTML)
<div class="col-6-12 subcontent-outer">
<div class="subcontent">
<h1>Header</h1>
<p>
Content
</div>
<div class="subcontent">
<h1>Header</h1>
<p>
Content
</div>
</div>
I am trying to make each .subcontent
div fill 50% of the height of the .subcontent-outer
div. While this works in modern browsers, the height of the container div is variable.
Could someone please advise me on how to achieve this?
Thank you,
Harley