body,html { background-color: #000000; margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; overflow:hidden; width:100%; height:100%; } div#container { z-index:1; margin:auto; width:100%; position:absolute; height:100%; }