<!DOCTYPE html> | |
<p>The blue block should be on the right of the green block, not below it.</p> | |
<div> | |
<div style='display: inline-block; width: 50px; height: 50px; background: green;'></div> | |
<div style='display: inline-block; position: fixed; width: 50px; height: 50px; background: blue;'></div> | |
</div> |