<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">thanks, I'll try.<br>bye, @+<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Message d'origine ----<br>De : Simon Georget <simon.georget@gmail.com><br>À : carto web <cartoweb-users@lists.maptools.org><br>Envoyé le : Lundi, 10 Mars 2008, 14h26mn 48s<br>Objet : Re: [Cartoweb-users] css, template, mainmap<br><br>Pity,
indeed..<br><br>Well,
one
solution
would
be
to
calculate
the
size
of
the
window
and<br>positionning
the
map
dynamically
on
each
resize.<br><br><br><br>On
3/10/08,
Oliver
Christen
<<a ymailto="mailto:oliver.christen@camptocamp.com" href="mailto:oliver.christen@camptocamp.com">oliver.christen@camptocamp.com</a>>
wrote:<br>>
it
should
works
but
it
wont,
sadely.<br>>
because
the
map
image
is
positionned
absolutly
by
the
dhtml,
based
on
the<br>>
initial
relative
position
of
the
map
container
element.<br>>
this
is
a
limitation
of
the
actual
template
design.<br>><br>>
regards<br>><br>>
Oliver<br>><br>><br>>
>
Hi
Guillaume,<br>>
><br>>
>
Your
form
is
a
block
element
but
the
map
is
an
image,
so
an
inline<br>>
>
element.<br>>
><br>>
>
to
center
an
inline
element
you
should
use
'text-align:center;'<br>>
><br>>
>
More
explanation
here
:
<a href="http://dorward.me.uk/www/centre/" target="_blank">http://dorward.me.uk/www/centre/</a><br>>
><br>>
>
It
should
work
....<br>>
>
bye,
simon<br>>
><br>>
><br>>
><br>>
>
On
3/10/08,
guillaume
champlong
<<a ymailto="mailto:goutosig@yahoo.fr" href="mailto:goutosig@yahoo.fr">goutosig@yahoo.fr</a>>
wrote:<br>>
>><br>>
>>
Hi
all,<br>>
>><br>>
>>
I
am
using
cw3.4
on
win
XP
pro.<br>>
>>
I
have
a
project
in
which
I
would
like
the
table
containing
the
form
and<br>>
>>
the<br>>
>>
map
to
be
centered
at
any
time.
For
this
purpose,
I
added
an
id
to
this<br>>
>>
table
(id=total)
and
in
cartoweb.css
I
wrote<br>>
>>
#total{<br>>
>>
margin-left:auto;<br>>
>>
margin-right:auto;<br>>
>>
}<br>>
>><br>>
>><br>>
>>
Unfortunately
with
this
code,
when
the
windows
size
changes,
the
table
is<br>>
>>
re-centered<br>>
>>
but
the
generated
image
map
is
not.
As
a
consequence,
an
offset
appears<br>>
>>
between
the
map
and
the
rest
of
the
table.<br>>
>><br>>
>>
Does
anyone
know
how
to
fix
this?<br>>
>>
thanks<br>>
>>
G.<br>>
>><br>>
>>
________________________________<br>>
>>
Envoyé
avec
Yahoo!
Mail.<br>>
>>
Une
boite
mail
plus
intelligente.<br>>
>>
_______________________________________________<br>>
>>
Cartoweb-users
mailing
list<br>>
>>
<a ymailto="mailto:Cartoweb-users@lists.maptools.org" href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</a><br>>
>>
<a href="http://lists.maptools.org/mailman/listinfo/cartoweb-users" target="_blank">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a><br>>
>><br>>
>><br>>
><br>>
>
_______________________________________________<br>>
>
Cartoweb-users
mailing
list<br>>
>
<a ymailto="mailto:Cartoweb-users@lists.maptools.org" href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</a><br>>
>
<a href="http://lists.maptools.org/mailman/listinfo/cartoweb-users" target="_blank">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a><br>>
><br>><br>><br><br>_______________________________________________<br>Cartoweb-users
mailing
list<br><a ymailto="mailto:Cartoweb-users@lists.maptools.org" href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/cartoweb-users" target="_blank">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a><br></div><br></div></div><br>
<hr size="1">
Envoyé avec <a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html">Yahoo! Mail</a>.<br>Une boite mail plus intelligente. </a></body></html>