#gameContainer { width: 400px; height: auto; margin: 0 auto; /* Centers the container horizontally */ display: none; /* Hides the container by default */ } html, body { margin: 0; padding: 0; height: 100%; } /* #gameContainer { */ /* position: absolute; */ /* top: 0; */ /* left: 0; */ /* width: 100%; */ /* height: 100%; */ /* } */ #gameIframe { width: 100%; height: 100%; border: none; /* display: none; /\* Hides the container by default *\/ */ margin: 0 auto; /* Centers the container horizontally */ }