On May 21, 2:01 am, TheSavant <[email protected]> wrote:
>
> I have literally copied the "Hello World" HTML 
> fromhttp://code.google.com/apis/maps/documentation/javascript/introductio...
>
> All I get is a blank page
>
the problem is that you've got a strict html doctype at the start, but
the "hello world" example leaves out the doctype (and therefore runs
in quirks mode).   In strict mode the browser calculates the 100%
height as zero (inherited from body) so you need CSS like this to see
the map:

<style type="text/css">
html,body {
  height: 100%;
  margin: 0px;
}
</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