Google Maps 100% Height
18,858
You have to set height
for html
and body
tags also:
html, body { height: 100%; }
Look at this example.
Author by
Satch3000
Updated on June 06, 2022Comments
-
Satch3000 almost 2 years
I am using the code from here:
http://jquery-ui-map.googlecode.com/svn/trunk/demos/jquery-mobile-example.html#basic_map
My only problem is that I can't find how to make the map 100% Height.
Anyone had this problem before?
-
uɥƃnɐʌuop over 12 yearsIt should also be noted that the
margin:0
andpadding:0
css rules must also be applied to the body tag (which is in your example). -
Tomas over 12 yearsWell, not necessarily, that depends on your taste. You need not to do it but you can.