<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><SPAN lang=NO-BOK>
Hi Bijoy.<BR>
&nbsp;<BR>
Don't know if I understood the question correctly but if its positioning the whole panzoombar, then it seems like you must override the old CSS attribute value of "left:" <U>in addition </U>to setting a new value of the CSS attribute "right:" to get the control over to the right side, e.g;<BR>
&nbsp;<BR>
.olControlPanZoomBar {right:100px; left:auto ! important;}<BR>
&nbsp;<BR>
&nbsp;<BR>
Regards<BR>Jan Rune Henriksen<BR>
Systemdesigner | Gecko AS<BR>
(very beta test site: <A href="http://www.geoport.no">www.geoport.no</A>)<BR></SPAN><BR><BR>&gt; 4. Re: Set a Custom Position to the Controls (Bijoy)<BR>&gt; <BR>&gt; Message: 4<BR>&gt; Date: Fri, 3 Oct 2008 06:15:43 -0700 (PDT)<BR>&gt; From: Bijoy &lt;bijoya@rediff.co.in&gt;<BR>&gt; Subject: Re: [OpenLayers-Users] Set a Custom Position to the Controls<BR>&gt; To: users@openlayers.org<BR>&gt; Message-ID: &lt;19797528.post@talk.nabble.com&gt;<BR>&gt; Content-Type: text/plain; charset=us-ascii<BR>&gt; <BR>&gt; <BR>&gt; Hi Robert,<BR>&gt; I can set Custom Position to all Controls, except PanZoomBar. I wanted to<BR>&gt; place the PanZoomBar towards right hand side of the map, instead of default<BR>&gt; left-hand side position. Unfortunately, the style.css do not seem to have<BR>&gt; that option for .olControlPanZoomBar. I tried to set my own, but still could<BR>&gt; not place it. I also tried using,<BR>&gt; map.addControl(new<BR>&gt; OpenLayers.Control.PanZoomBar({'div':myZoomBarContainer}));<BR>&gt; <BR>&gt; Still, the myZoomBarContainer doesn't move using my own css, like<BR>&gt; <BR>&gt; .myZoomBarContainer { top: 20px; left: 600px; }<BR>&gt; <BR>&gt; Is there any other way? I am using OL 2.7<BR>&gt; <BR>&gt; &lt;BIJOY&gt;<BR>&gt; -- <BR>&gt; View this message in context: http://www.nabble.com/Set-a-Custom-Position-to-the-Controls-tp19779867p19797528.html<BR>&gt; Sent from the OpenLayers Users mailing list archive at Nabble.com.<BR>&gt; <BR>&gt; <BR>&gt; <BR><br /><hr />Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! <a href='http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us' target='_new'>Try it!</a></body>
</html>