If you have three identical divs located in a line block, they align perfectly. But if you place any content in any of the div, it falls below the rest. Why is he doing this?
<div class="left">?</div> <div class="center"></div> <div class="right"></div> div { display:inline-block; margin-:2px; height:100px; width:25px; border:1px solid black; }
http://jsfiddle.net/7kkC6/
best example: http://jsfiddle.net/7kkC6/9/
source share