body { margin: 0; background-color: #98b98e; } /*-----main-----*/ #MainContent { margin: 0; padding: 0; top: 7%; left: 0; width: 100%; height: 100%; position: fixed; text-align: center; z-index: -10; } #mapset { position: absolute; width: 100%; height: 92%; top: 47%; transform: translate(-50%,-50%); margin: 0 auto; display: inline-block; }