On Apr 28, 7:58 am, Andrew Leach <[email protected]>
wrote:
>
> I reckon Larry's right. It's almost certainly CSS-related. Perhaps
> you're not suppressing the white space which <p> introduces.

Well, it wasn't that, but it is CSS.

I found this link in your other thread:
http://otb.vw01.starsale.nl/bin/ibp.jsp?ibpZone=S1_Bedrijven&ibpDisplay=view&ibpPage=S1_FocusPage&ibpDispWho=S1_Bedrijven&ibpDispWhat=zone&mode=map&;

The issue is this CSS in ibp.jsp (line 252):
#VWGM_GoogleMapContainer_bfbcc5t04fymfnpkscjurn p {
line-height:normal;
}
and this CSS in vw_common.css (line 763):
.borderedcontent p, .transparentcontent p, .greycomponent
p, .fixedcomponent p {
font-size:1.1em;
margin-left:0px;
}

Remove the line-height:normal from the first and the font-size
directive from the second and the infoWindow is sized correctly.

The API calculates the infoWindow size before your styles are applied
to the content, so when the content is displayed the infoWindow looks
too big.  Mike's tutorial may help: http://econym.org.uk/gmap/css.htm

-- 
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.

Reply via email to