Google Maps Bugs with IE
Posted: Wed Dec 12, 2007 11:00 am
I had the problem whereby IE (7 and 6) would not show up the google maps extensions onload on the page by default, even though they were showing up in Mozilla and Opera with no problems. After much hair pulling...
This is the png transparency fix: http://www.twinhelix.com/css/iepngfix/demo/
PNG transparency fixes mess up the google maps onload, which is solved by a subtle and simple bit of css hidden in the IE6 only css. To make the IE6 only css, put this in the head tag:
Then within that stylesheet, you place both the png fix and the bit of a tag that turns this off for google maps.
* { behavior: url(iepngfix.htc); }
div#googlemap img {
behavior: none;
}
This should hopefully save someone grief in the long run if you use this particular combination. Hope it helps.
This is the png transparency fix: http://www.twinhelix.com/css/iepngfix/demo/
PNG transparency fixes mess up the google maps onload, which is solved by a subtle and simple bit of css hidden in the IE6 only css. To make the IE6 only css, put this in the head tag:
Then within that stylesheet, you place both the png fix and the bit of a tag that turns this off for google maps.
* { behavior: url(iepngfix.htc); }
div#googlemap img {
behavior: none;
}
This should hopefully save someone grief in the long run if you use this particular combination. Hope it helps.