[OpenLayers-Users] Scalebar Align...

Dirk Hamberger Dirk.Hamberger at ptv.de
Thu Jan 14 02:33:16 EST 2010


Hi Stela,

this worked for me ...
... just overwrite the following css-Class in
Your custom Stylesheet ...
... the most important line:
left: auto
... to clear the left alignment which
for some reason takes precedence over
the right alignment statement:


.olControlScaleLine {
  left:auto;
  right: 2px;
  bottom: 2px;
  position: absolute;
  display: block;
}


Regards, Dirk.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100114/98d43de0/attachment.html


More information about the Users mailing list