I attempted to center align my search bar, but it stubbornly stays to the left. Here's the code I'm using:
<head>
<style>
html {
overflow: auto;
}
html,
body,
iframe {
margin: 0px;
padding: 0px;
height: 100%;
border: none;
}
iframe {
display: block;
width: 100%;
border: none;
overflow-y: auto;
overflow-x: hidden;
}
@media (min-width: 1200px) {
.container{
max-width: 400px;
}
}
#over { font-size:5em; position:absolute; top:20px; left:20px; z-index:2 }
</style>
</head>
<div id="over" class="container">
<div class="row">
<div id="over" class="input-group bg-white">
<input type="search" id="mapinput" class="form-control rounded" placeholder="Город" aria-label="Search"
aria-describedby="search-addon" />
<button type="button" onclick="changecity();" class="btn btn-outline-primary">Поиск</button>
</div>
</div>
</div>
<iframe id="mapframe" src="https://maps.google.com/maps?q=Moscow&t=k&z=13&ie=UTF8&iwloc=&output=embed" style="border: 0; width: 100%; height: 100%">Your browser doesn't support iFrames.</iframe>
Here's the display
Any suggestions on how to resolve this and center the search bar?