I have the following HTML where the float-left and float-right classes do just that:
<div class="block-footer">
<button class="medium float-left">A</button>
<button class="medium float-left">A</button>
<button class="medium float-left">A</button>
<button class="medium float-right">A</button>
<button class="medium float-right">A</button>
</div>
This works but my div seems to occupy no vertical space and that's a problem for what follows. When I do this:
<div class="block-footer">
<button class="medium float-left">A</button>
<button class="medium float-left">A</button>
<button class="medium float-left">A</button>
<button class="medium float-right">A</button>
<button class="medium">A</button>
</div>
Then the DIV occupies space.
So how can I get some buttons to float to the left and some to the right and still have the DIV use some vertical space?