I searched for just about everything under the sun *except* "top left corner" - brilliant... Thanks so much for your help. Moving the script to just above the </ body> tag did the trick.
On Dec 13, 4:24 pm, "[email protected]" <[email protected]> wrote: > On Dec 13, 2:03 pm, Laura <[email protected]> wrote: > > > A map which gets markers from an xml file displays perfectly in > > Firefox, but in Internet Explorer will not center, and the background > > does not display properly - the only tile that displays is the top > > left; the remainder of the map is blank except for markers. I'm not > > using custom tiles. > > > If anyone can take a look and advise me, I'd really appreciate it. > > > map:http://www.sdtwds.com/recycle/ > > xml:http://www.sdtwds.com/recycle/data.xml > > Did you search for top left > corner?http://groups.google.com/group/Google-Maps-API/search?group=Google-Ma... > > (or for that matter IE and table...) > > The javascript that creates the map is inline, inside of a table. IE > doesn't calculate the size of the elements inside the table until the > table is completely defined, so your map is being created with zero > size. To fix do one of: > 1. move the script to the bottom of the page, just before the </body> > tag > 2. define the the script in the head and run it in an onload function. > 3. call map.checkResize when the DOM is completely defined. > > -- Larry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-API?hl=en -~----------~----~----~----~------~----~------~--~---
