I used the CSS:
div.half {
width: 50%;
display: inline-block;
}
And the HTML:
<div>
<div class="half">...</div>
<div class="half">...</div>
</div>
Of course, as expected, the DIV's got too wide, due to the borders and paddings. So I added box-sizing, which helped me before and got this CSS:
div.half {
box-sizing: border-box;
width: 50%;
display: inline-block;
}
However, this time, I get a line break there. And that's a surprise. What do I miss?