You should use type property of Button control and use button within panel.
See my example: http://jsfiddle.net/_DR_/K2WaA/1/

-----
Denis Rykov
NextGIS
http://www.nextgis.org/
--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Control-Button-with-displayClass-tp6928809p6931656.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to