I have the following HTML+CSS
<div>
<div class="first">text</div>
<div>more text</div>
</div>
div {
display: inline;
}
.first {
display: block;
}
The, somewhat surprising, result of that, is that before the first
item, I'm getting an empty line (in Chrome and Firefox anyway).
I'd appreciate someone explaining to me why that happens if the first div inside an inline
parent has display: block;
here's a jsfiddle demonstrating the problem http://jsfiddle.net/kkozmic/fsm9D/1/