I have a full screen google map application with a navbar on the top.
So i have a setup like this:
<div class="navbar">
<nav bar stuff......>
</div>
<div id="mapcanvas"></div>
with the mapcanvas element having height and width to be 100%.
However, the mapcanvas seems to overflow out the page and the the entire page could scroll down the page by the amount of the navbar.
How would i go about fixing that?
Maybe try adding
navbar-fixed-topto your navbar class.If you don’t want the navbar to be over the map set the
#mapcanvasas this (works till IE7 – haven’t tried ie6)