<style> html{ height:100%; } body{ padding: 0; margin: 0; background: url(images/2.jpg); background-size: 100% 100%; position: absolute; } </style>