Hi Henry,

  Using the control class name works :

        .olControlOverviewMapMinimizeButton {
          background-image: url("../img/marker.png");
        }

Since the div automatically gets an <img> tag generated by the control, you should hide it :

        .olControlOverviewMapMinimizeButton img {
          display: none;
        }

HTH,

Alexandre


On 10-12-01 04:03 AM, Henry wrote:
Hello everybody,

I've searched the forum but couldn't find a answer to the question if an
icon in Openlayers can be changed via CSS?
I like to put a new image for the minimize icon on the Overview Map.

Best regards,
Henry


--
Alexandre Dubé
Mapgears
www.mapgears.com

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to