Google地图100%高度 [英] Google Maps 100% Height
本文介绍了Google地图100%高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用的代码来自这里:
I am using the code from here:
http://jquery-ui-map.googlecode.com/svn/trunk/demos/jquery-mobile-example.html#basic_map
我唯一的问题是我找不到如何使地图100%高度。
My only problem is that I can't find how to make the map 100% Height.
任何人都有这个问题吗?
Anyone had this problem before?
推荐答案
您必须为设置
和 height
html body
标签也:
You have to set height
for html
and body
tags also:
html, body { height: 100%; }
查看此示例。
这篇关于Google地图100%高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文