html { overflow: hidden; } html, body { margin: 0; padding: 0; height: 100%;} #map { position: absolute; top: 0; left: 0; width: 640px; height: 440px; }