I'm going to keep this brief, all the browsers I've tested have worked, firefox is the only browser that decides it's going to not drop the declaration but to ignore it?
I'm using the following CSS
header{height:118px;}
section#head{padding:0% 12.5%;padding-top:200px;min-height:60%;min-height:calc(100% - (118px + 200px));}
.splitOb{width:50%;float:left;}
.clearfix:after{display:block;content:'';visibility:hidden;clear:both;}
And my HTML
<header>
<h1>Header</h1>
</header>
<section id="head">
<h1>Make me in the middle D'X</h1>
</section>
<section id="examples">
<div class="split clearfix">
<div class="splitOb">
<h2>Left</h2>
</div>
<div class="splitOb">
<h2>Right</h2>
</div>
</div>
</section>
Now I've heard that float
can cause firefox issues with min-height
and read that adding overflow:hidden;
on the parent can solve this like:
.clearfix{overflow:hidden;}
But no, firefox still wants to ignore me... ...please somebody tell me how to get firefox's attention and make my element the correct hight DX