This should do the trick:<div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://openlayers.org/dev/examples/restricted-extent.html">http://openlayers.org/dev/examples/restricted-extent.html</a><br>
<br><div class="gmail_quote">On Thu, Mar 10, 2011 at 7:48 AM, oekter <span dir="ltr">&lt;<a href="mailto:millitz@gmail.com">millitz@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<a href="http://maps.alltrams.com/Budapest.html" target="_blank">http://maps.alltrams.com/Budapest.html</a><br>
Need a little help with this:<br>
How can I lock dragging outside my set of tiles so that the empty space<br>
around my map will never be visible (stay outside the box)?<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Lock-dragging-to-outside-area-tp6157548p6157548.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Lock-dragging-to-outside-area-tp6157548p6157548.html</a><br>

Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</font></blockquote></div><br></div>