<!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 id=blue style='position: fixed; width: 50px; height: 50px; background: blue;'></div>
</div>
<script>
document.body.offsetTop;
blue.style.display = 'inline-block';
</script>
