I wrote a page with flex columns using 'display:inline-block' as in this demo, but met a problem with white-spaces and newlines:
Even though .left and .right are both width:50%, but since there are white-spaces and a newline between them, they actually take up more than 100% width and so .right just goes to next line.
<!--demo 1-->
<div class="container">
<div class="left box">
</div>
<div class="right box">
</div>
</div>
Deleting white-spaces and newlines between .left and .right works, and now they are on the same line, but the HTML is less expressive.
<!--demo 2-->
<div class="container">
<div class="left box">
</div><div class="right box">
</div>
</div>
So, anyway to keep indents?