On May 21, 2:01 am, TheSavant <
dkeithl...@gmail.com> 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>
...