[OpenLayers-Users] Pop-up auto size problem

Albrecht Lohöfener albrechtloh at gmx.de
Mon Apr 1 17:13:00 PDT 2013


Hi Xavier,

Thank you very much for this tip. Now I'm using the following CSS class 
(it's a white frame).
-----------
.olPopupContent
{
     padding: 0 0 0 0;
     border: #fff solid;
     border-width: 10px 10px;
}
-----------

I hope that the OL team include your patches in the next OL version.

Bye, Albrecht

Am 23.03.2013 11:43, schrieb Xavier Mamano (jorix):
> Hi Albrecht,
>
> Try:
>
> .olPopupContent {
>      padding: 0 5px;
>      border: #faf solid;
>      border-width: 5px 0;
> }
>
> not elegant but it works.
>
> (This does not work without the patch)
>
> Regards,
>
> Xavier


More information about the Users mailing list