Given this HTML:
<p>
<span> Green </span>
<span> Red </span>
</p>
and this CSS:
span {
display:inline-block;
width:100px;
}
I have found 2 solutions:
1. Use float:left instead of display:inline-block.
2. Use display:table-cell