<div style="display: inline-block; width: 50px; height: 100px; background-color: red;"></div><div style="display: inline-block; width: 50px; text-align: center; direction: rtl;">
    <div style="display: inline-block; width: 100px; height: 100px; background-color: green;"></div>
</div>
