Sorry, the forums are locked while I handle some maintenance.

 
This Forum is Currently Locked – Access is Read Only
You must be logged in to post Login


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Centering google map on page

No Tags
UserPost

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?

Upset at my slow responses recently? Please read my explanation.

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.

Upset at my slow responses recently? Please read my explanation.

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"});
}
//]]&gt;
</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;

}

Upset at my slow responses recently? Please read my explanation.

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

No Tags

About the Xavisys Forum

Forum Timezone: America/Phoenix

Most Users Ever Online: 50

Currently Online:
1 Guest

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 3
Forums: 26
Topics: 410
Posts: 1034

Membership:

There are 792 Members
There has been 1 Guest

There are 2 Admins
There is 1 Moderator

Top Posters:

lkmweb@me.com – 9
Brayne – 8
Xarzu – 8
Iain – 8
Aaron Fineman – 8
checox7@yahoo.com – 6

Recent New Members: puckles@gmail.com, kwelx@kwelx.com, kaufmanauthor@gmail.com, meesfrenkelfrank@hotmail.com, heather@holmpage.com, mark@avantgarde-group.nl

Administrators: AaronCampbell (242 Posts), Imported Questions (1 Post)

Moderators: nancy@mequoda.com (0 Posts)



 
Stop Censorship