I am trying to set the width and height of my google map to 100%. I understand that you need to set the parents as well and I am doing that. This is what I have:
<asp:Content ID="head" ContentPlaceHolderID="head" runat="server">
<style>
#homeBody {
height: 100%;
width: 100%;
}
#map {
width: 100%;
height: 100%;
margin-top: 200px;
}
</style>
</asp:Content>
<asp:Content ID="homeBody" ContentPlaceHolderID="homeBody" runat="server">
<div id="map"></div>
//some scriping to build map and what not
</asp:Content>
Can anyone tell me what I may be doing incorrectly? I currently just get a very slim line across the page... basically no height, just the width.