when i test your appl. i see the same problem. try to change the to or left position from your #mouseControl... and it will work, try it with your #zoomCtontrol and the zoomControl will stick at the left upper corner no matter which values u use for left or top!
donĀ“t know why but something seems to be overwrite the styles from the html file bradleyspencer wrote: > > This is how I do it with no real problems. > > http://demo.cubewerx.com.au/test.html > > Cheers, > > Brad Spencer > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of R. Ortner > Sent: Tuesday, 6 November 2007 11:01 PM > To: users@openlayers.org > Subject: [OpenLayers-Users] PanZoomBar position > > > hi, > > i set the panzoombar outside the map, but now i cant change the position > of > the panzoombar. It allways remain in the left upper corner of the page. > > Where can I change the position? i tried this and this works for the > layerswitche and the editingtoolbar but not for the panzoombar! why? > > > map.addControl(new > OpenLayers.Control.PanZoomBar({'div':OpenLayers.Util.getElement('panzoombar' > )})); > > <div id="panzoombar" > style="position:absolute;left:1050px;top:120px;width:35px;height:100px;backg > round:transparent;z-index:100"></div> > -- > View this message in context: > http://www.nabble.com/PanZoomBar-position-tf4757645.html#a13605271 > Sent from the OpenLayers Users mailing list archive at Nabble.com. > > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > > -- View this message in context: http://www.nabble.com/PanZoomBar-position-tf4757645.html#a13605889 Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users