The float CSS modifier does not do what you seem to think it does. Your problem here is that you're nesting all of your divs, so the innermost one is going to sit at the top of its parent, no matter what. Your best option is to made the two divs side by side in the markup, like so:
<div...