I'm trying to organize div
s into two columns, but not force them into rows. I'm also trying to keep the vertical spacing between the div
s a constant.
You can see the following demo, which would be correct if there wasn't huge amounts of vertical whitespace between the divs in each column.
html
<div class="module"></div>
<div class="module"></div>
<div class="module"></div>
<div class="module"></div>
<div class="module"></div>
I thought that I could just float them to the left with a static width, but apparently that didn't work.
Any ideas?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…