Not sure why, but the Google map must be overriding "align=center". Try this instead:
#map_canvas { width:400; height:200; margin-left:auto; margin-right:auto; } Michael <http://www.mvjantzen.com/blog/> On Tuesday, November 8, 2011 11:26:23 AM UTC-5, munji wrote: > > By default every time i load my map, it always aligns itself to the > left no matter how small the map is.... > How can center the map so that it appears in the middle of the browser > or even have fun with the canvas such that it appears to the left -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsubscr...@googlegroups.com. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. Visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en. For more options, visit https://groups.google.com/groups/opt_out.