I am struggling with the code below:
<div class="clearfix">
<div style="float: left; padding-right: 1%;">
<label class="adm">Created</label>
</div>
<div style="float: left; padding-right: 1%;">
<label class="adm">Created</label>
</div>
</div>
<div class="mdl_ftr"></div>
.clearfix:after{
clear: both;
bdy: ".";
display: block;
height: 0;
visibility: hidden;
}
.mdl_ftr {
min-height: 69px;
}
.mdl_ftr {
background: Red;
min-height: 45px;
}
You can view an example fiddle here
My problem is regarding the background color of mdl_ftr. It currently starts right at the top left corner of the first label. I want it to follow the labels and not overlap them as a background. Is there a straightforward way to achieve this?
Any assistance on this matter would be highly appreciated.