body, html{ width: 100%; height: 100%; margin: 0; padding: 0; border: none;} div{ min-height: 780px; position: absolute; top: 0; bottom: 0; right:0; left: 0; }