Hi My V3 rework of our map software has unwanted scroll bars appearing in Firefox, Chrome & Safari (OK in IE7 and Opera).
We have tracked the cause to an 'overflow:auto' being set by the Google api in the div it creates which immediately contains our content. <div style="cursor: default; position: absolute; left: 16px; top: 16px; z-index: 2; overflow: auto; width: 350px; height: 97px;"> <div style="overflow: auto;"> <-- this is created by Google api <div class="bubble selfclear"><h1 id="bubHD">Test</h1></div> <-- this line is my content </div> </div> I have posted a simple example at http://www.lawless.info/gmaps/bubble test.html which uses a 'selfclear' to induce the scroll bars. In my development environment the scroll bars appear almost at random and I have been unable to see a pattern of content that turns them on. In api V2 software the containing div did not have a style of overflow:auto applied. I have tried adding the overflow:auto style to an api V2 infowindow using Firebug and the scroll bars immediately appear. I have a work around for my development by targeting the offending div and applying overflow:hidden. div.gmnoprint div div div { overflow: hidden !important; } It works but I would not regard it as an acceptable solution. Can some one advise is this a bug in the api or is there a good reason to the change from version 2? Thanks Peter -- 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.
