Hi Maxime
AutoSizeAnchored = OpenLayers.Class(OpenLayers.Popup.Anchored, {
'autoSize': true,
'contentDisplayClass': 'olPopupLabelContent'
});
Creates a subclass of popupAnchored with a different content style.
In your css you can specify the specifics of this style
Cheers Kris
-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Maxime Phaneuf
Sent: Wednesday, May 27, 2009 9:11 PM
To: [email protected]
Subject: [OpenLayers-Users] Apply CSS style to popup content
Hi guys,
Based on this example:
http://openlayers.org/dev/examples/getfeatureinfo-control.html, I
succeeded
in querying a WMS layer with WMSGetFeatureInfo. The only difference is
that
I make a pop-up appear instead of a <div> on the page.
The only problem I encounter is that I want to apply CSS style to the
content of that pop-up, but I can't seem to do it. Does any of you know
how
this can be done?
Thank you
Maxime Phaneuf
--
View this message in context:
http://n2.nabble.com/Apply-CSS-style-to-popup-content-tp2983101p2983101.
html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users