2011年3月24日 星期四

Google map can't be shown in IE 8 (2011)

Something were changed in the IE 8.0, Google map cannot be shown in it.
The problem may be due to the following tag
<link href="http://code.google.com/apis/maps/documentation/javascript/examples/default.css" rel="stylesheet" type="text/css" />.
It may be solved by
<style type="text/css">
  html { height: 100% }
  body { height: 100%; margin: 0px; padding: 0px }
  #map_canvas { height: 100% }
</style>

沒有留言:

張貼留言