the solution was simply using the attribution control as suggested by Phil, thanks a lot Phil! -- View this message in context: http://osgeo-org.1560.n6.nabble.com/legend-floating-over-map-tp5019001p5034369.html Sent from the OpenLayers Users mailing list archive at Nabble.com.