Why is float:left
CSS property breaking styling?
<div id="application_header">
<div>logo</div>
<div><h5>tagline</h5></div>
</div>
#application_header > div
is preventing #application_header
background property from being applied because of: float:left
?
.clear { clear:both; }
.push { clear: both; height: 20px;}
#application_header { display:block; background-color: #000; }
#application_header > div { float: left; }
#application_header
only accepts background-color: #000;
property if float:left
is removed... Explanation please...?