Sounds interesting at first sight.

But I'm sorry, this solution cannot be recommended generally.

Have a look at the infowindows in the following example.
In this case the contents of a kml file is loaded into the
infowindows,
and I believe the infowindows do not really look appealing when
specified white-space: nowrap;


http://www.wolfpil.de/v3/not-recommendable-generally.html



On Aug 17, 8:56 am, xelawho <[email protected]> wrote:
> hi,
>
> apologies if this has been noted, but I searched the group and it
> seems that there were alot of people frustrated with vertical
> scrollbars appearing in their infowindows but I couldn't find any
> concrete solutions offered.
>
> I could never get setSize() to work, setContent() did nothing useful,
> and I was getting scrollbars on two lines of text (!) But here's what
> worked for me. Maybe it will help someone else:
>
> in my css,  for the #map_canvas I specified white-space:nowrap;
>
> and bye bye scrollbars :D
>
> I haven't tested it fully - I guess if you style your infowindow divs
> individually you would include the line there. And I don't use
> graphics in my infowindows, so that's another unknown.
>
> And of course if you have a lot of text you would have to put in your
> own line breaks, which could get boring.
>
> But anyway. Just thought I'd mention it.

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

Reply via email to