I have the following html:
<div id="wrapper">
<div class="inline-block"></div>
<div class="inline-block"></div>
<div class="inline-block"></div>
<div class="block"></div>
</div>
Now, the inline elements have display: inline-block. I need it to vertical align them. The block element is display: block.
This gives the following result (first image):

Since I want the pink element (block) to be on the right, if I try to set it to float: right, I get the other elements misplaced to the left leaving a margin on the right corresponding to the width of the block element. Any help?