If an html document starts with !DOCTYPE the "Hello, World" tutorial
doesn't show anything.  That is because the html and body height must
be set before the map_canvas height can be set to 100%. The following
fixes the problem:

<style type="text/css">
body { margin:0; padding:0; }
html, body, div#map_canvas {height: 100%;}
</style>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to