User Post
10:36 pm December 10, 2009
drounds67@hotmail.com
Member
posts 3
I'm looking for a way to center the google map on my page. The map produced is great i just want it centered in the page. Any ideas?
thanks
David
12:09 pm December 17, 2009
AaronCampbell
Admin
posts 242
Can you give me a link to the page?
8:23 pm December 20, 2009
drounds67@hotmail.com
Member
posts 3
No I can't. the page is on my computer still since it is a new website that I haven't loaded online yet.
8:48 am December 21, 2009
AaronCampbell
Admin
posts 242
Unfortunately, there's not a lot I can do then. Sorry.
9:58 pm December 21, 2009
drounds67@hotmail.com
Member
posts 3
When I load it I will post it so you can get a look at it.
Thanks
1:38 pm January 11, 2010
forum@ka81.com
Kyiv
Member
posts 3
Hello!
The same question.
here's my link – LINK
I use the code:
here's the source-code of page:
<div id='map_1' style='width:300px; height:150px;' class='googleMap'></div> <div id='dir_1'></div> <script type="text/javascript"> //<![CDATA[ if (GBrowserIsCompatible()) { wpGMaps.wpNewMap(1, {"__className":"stdClass","name":"","mousewheel":true,"zoompancontrol":false,"typecontrol":false,"directions_to":false,"directions_from":false,"width":"300px","height":"150px","description":"","address":"Ukraine, Kyiv, Yakira str., 16"}); } //]]> </script>
</div>
i tried to assign in style.css – .googlemap {text-align:center;}
i tried code like this:
<center></center>
NO RESULT!
so, please tell me how to assign googlemap window to center (or right,…)???
P.S. .googlemap {float:right;} don't mention, cause it wraps my comments.
Thanx anyway!!!
1:42 pm January 11, 2010
AaronCampbell
Admin
posts 242
Fo you, use this:
.googleMap {
margin:auto;
}
1:48 pm January 11, 2010
forum@ka81.com
Kyiv
Member
posts 3
god damn it, i fully forgot about margin…
:)
THANK YOU!!!
http://xavisys.com/support/forum/google-…..-map/#p260