<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.3790.2491" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Indeed, the enclosing div (or parents element) must be set to
position:relative because some of the div used for the map and all the dhtml
tools use an absolute positionning. If the enclosing element is set to absolute,
the enclosed div are not positionned correctly, which result in misplaced image
and tools not functionning.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>This is a restriction at the moment for the current dhtml. You
will have to find another way to position your map into the
template.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Btw, float:left; width:98%; in your css are useless because
overrided by the following rules.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>An exemple of all div template is <A
href="http://www.plan.epfl.ch">http://www.plan.epfl.ch</A>, have a look with
firefox's DOM inspector (or look at the page source).</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=fx.prunayre@oieau.fr href="mailto:fx.prunayre@oieau.fr">François
Prunayre</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, August 10, 2006 8:21
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] mainmap in div
position absolute</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=110581506-10082006><FONT face=Arial size=2>Hi list, I'm
trying to put my map "<table>...<FONT size=1>{include
file="mainmap.tpl"}...</table>" into a div. </FONT></FONT></SPAN></DIV>
<DIV><SPAN class=110581506-10082006><FONT face=Arial size=1>When the table is
in my div, the loadbar works fine, pan arrows are ok but I can't get my map
image and the tool zoom in/out doesn't work.</FONT></SPAN></DIV>
<DIV><SPAN class=110581506-10082006><FONT face=Arial
size=1></FONT></SPAN> </DIV>
<DIV><SPAN class=110581506-10082006><FONT face=Arial size=1>The style of the
div I put my map on is :</FONT></SPAN></DIV>
<DIV><SPAN class=110581506-10082006>
<P><FONT size=1>div.box{</FONT></P>
<P><FONT size=1>float:left; </FONT></P>
<P><FONT size=1>width:98%; </FONT></P>
<P><FONT size=1>height:530px;</FONT></P>
<P><FONT size=1>position:absolute;</FONT></P>
<P><FONT size=1>top:60px;</FONT></P>
<P><FONT size=1>left:455px;</FONT></P>
<P><FONT size=1>width:400px;</FONT></P>
<P><SPAN class=110581506-10082006><FONT size=1>}</FONT></SPAN></P>
<P><SPAN class=110581506-10082006><FONT face=Arial size=2>Is there any problem
using div position absolute and the map interface
?</FONT></SPAN></P></SPAN></DIV>
<DIV><SPAN class=110581506-10082006><FONT face=Arial size=2>Thanks for your
help. </FONT></SPAN></DIV>
<DIV><SPAN class=110581506-10082006><FONT face=Arial
size=2>Francois.</FONT></SPAN></DIV>
<DIV><SPAN class=110581506-10082006><FONT face=Arial
size=2></FONT></SPAN> </DIV><BR>-- <BR>Ce message a ete verifie par <A
href="http://www.mailscanner.info/"><B>MailScanner</B></A> pour des virus ou
des polluriels et rien de suspect n'a ete trouve.
<DIV><FONT face=3DArial size=3></FONT> </DIV>Les donnees et
renseignements contenus dans ce message sont personnels, confidentiels et
privés.Toute publication, utilisation ou diffusion, meme partielle, doit etre
autorisee.
<DIV><FONT face=3DArial size=3></FONT> </DIV>Any data and information
contained in this electronic mail is personal, confidential and private. Any
total or partial publication, use or distribution must be authorized.
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>