I'm not sure it breaks the rules but probably the conventions. I'll bear what you say in mind if I try to make my web page compatible with other browsers. I tried the page in Opera and that seemed OK. There are other posts on this forum saying do the same thing.
The problem seems to be that something in the API is trying to modifying my web page before IE has finished creating it. I cant use defer with the API key because that causes another problem so moving it below the body is another way of defering it. Steve. On Dec 7, 12:59 am, Rossko <[EMAIL PROTECTED]> wrote: > > As an initial fix I moved my API key to below the </Body> line so that > > it executed after the body of the page had been processed. > > err, why? It's usually better to put it before your script(s) that > use API defined functions, and to initialise your code that relies on > DOM being complete (like the GMap2 does) by executing it in an onload > function call. > > Having it outside the <body> or <head> breaks the rules and will > surely confuse some browsers > > cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---