[OpenLayers-Users] Styling problems of popup

Asle Benoni asle.benoni at gmail.com
Sun Dec 13 10:41:36 EST 2009


Hello, I am still unable to get rid of the big space in the bottom of the
framedCloud. Does anyone have a better solutions to styling the popups?
Thanks.
/asle

2009/10/12 Asle Benoni <asle.benoni at gmail.com>

> Hello,
> I have a MapFish app but I think this is a OpenLayers issue.
> I have am putting info from a "OpenLayers.Control.WMSGetFeatureInfo" and
> using this code for popups
>
>                         popup = new OpenLayers.Popup.FramedCloud(
>                                 "chicken",
>                                 map.getLonLatFromPixel(event.xy),
>                                 new OpenLayers.Size(200,200),
>                                 contentHtml,
>                                 null,
>                                 true
>                                 );
>                         map.addPopup(popup);
>
> This works fine but I get a very big padding or margin in the bottom of the popup. It seems that the more markers showing info, the bigger the bottom space. I have tried with all kinds of styling. I am able to style the inner content of #chicken but not the space below. I will try to attach two images to show. Anyone been there before?
>
> Thanks for any input!
>
> /asle
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091213/b01f8fd7/attachment.html


More information about the Users mailing list