<!DOCTYPE html> | |
<body onload="scrollBy(0, 200)" style="height: 3000px;"> | |
<p style="position: absolute; top: 210px">You should see a yellow rect on the left, and a green one on the right. No red pixels.</p> | |
<div style="position: absolute; top: 270px; left: 0"> | |
<div style="width: 100px; height: 100px; background: green; position: absolute; left: 150px;"></div> | |
<div style="width: 100px; height: 100px; background: yellow; position: absolute; left: 10px;"></div> | |
</div> | |
</body> |