I'm facing some challenges while developing a webpage with Bootstrap 4.1. I am working on incorporating a header, Google map that fills the entire content area, and a footer below the map.
---------------------------------------------------------------------
| Header |
---------------------------------------------------------------------
| Content |
| (map) |
| |
| |
| |
| |
---------------------------------------------------------------------
| Footer |
---------------------------------------------------------------------
At the moment, I am struggling to make everything fit properly on the screen. The footer is causing the page to display a scrollbar as it goes off the visible area. Is there a way to adjust the map so it fits perfectly between the header and footer?
html, body {
height: 100%;
width: 100%;
padding: 0;
margin: 0;
}
#map-canvas {
width: 100%;
height: 100%;
}
You can view my current progress in this jsfiddle link: https://jsfiddle.net/11n0n6u1/1/