I have nested div
s, with most being float:left; display:block;
, like do:
<div class="container" style="display:block;">
<div style="float:left; display:block; height:100px;">
<div style="float:left; display:block; height:100px;">
</div>
I want the div
container to get bigger without setting a height. At the moment it's a flat line.
How do I set up the inner div
s, so that the container has a height?
TL;DR: Currently I can see the 2 inside div
's fine, but the container is a flat div
(no height).
How do I give it a height?