Google Maps API v2 - Huge gap at bottom of infoWindow

Ninopriolla

New Member
I've simplified my JavaScript code to the example below; this code is giving me a huge border below the text in my infoWindow. Looking at examples on the web with single line infoWindows it seems like this is a standard feature. Is there any way to eliminate this?Thanks\[code\] var marker = new GMarker(point); map.addOverlay(marker); GEvent.addListener(marker, "mouseover", function () { marker.openInfoWindow('a<br />b<br />c<br />d<br />a<br />b<br />c<br />d<br />a<br />b<br />c<br />d<br />'); } );\[/code\]Update: Found the answer, this CSS is causing the problem \[code\].gmnoprint {font-size:12px; }\[/code\] The smaller font-size seems to be making the infoWindow display as though it was displaying the default font-size, hence the extra space. Does anyone have a good solution? Thanks
3UShW.png
 
Top