<?xml version="1.0"?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%; overflow: hidden;"> <head> </head> <body style="margin: 0;"> <div style="height: 50px; width: 50px; background-color: red;"/> <div style="height: 1000px;"/> <div id="d" style="height: 50px; width: 50px; background-color: green;"/> <div style="height: 1000px;"/> </body> </html>