Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Maps 100% Height

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?

like image 508
Satch3000 Avatar asked Nov 30 '11 12:11

Satch3000


1 Answers

You have to set height for html and body tags also:

html, body { height: 100%; }

Look at this example.

like image 125
Tomas Avatar answered Nov 13 '22 11:11

Tomas