The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › [Solved] Relying on a line break for formatting inline-block elements.
Can anyone think of a way to accomplish exactly what I’ve done here, only without using the <br /> tags?
http://codepen.io/caiman/pen/LEZBwv?editors=110
You’ll want to view the pen in its own window to see the full intended effect.
.left{ padding: 20px 20px 20px 10020px; margin-left: -10000px; float:left; clear:left; }
.right{ clear: both; float: right; padding: 20px 10020px 20px 20px; margin-right: -10000px; }
Yep, that does it. I knew it’d be something incredibly simple. Thanks.