I m trying to have a responsive page which has two buttons on the top and supposed to be centered. Under the buttons i added a google map which should cover the rest of the page. when i try the code bellow, the buttons are not centered and also not responsive. and somehow the map height is longer than the page so scrollbar shows up. And ideas where i m doing wrong ?
<div class="container">
<div class="row">
<div class="col-md-4 center-block">
<button >click me</button>
<button >click me</button>
</div>
</div>
</div>
<div class="map_container">
<div id="googleMap" class="map_canvas"></div>
</div>
CSS
.map_container{
overflow:hidden;
padding-bottom:56.25%;
position:relative;
height:0;
}
.map_container .map_canvas{
left:0;
top:0;
height:100%;
width:100%;
position:absolute;
}