Tuesday, January 3, 2012

Re: [Google Maps API v2] Assist me? As soon as initialize() is called, my top line menu shifts

> map.html which is the main frame in your map page has this styling:
>
> html, body {
> font-family: Arial, Helvetica, sans-serif;
> background-image: url();
> background-color: #fff6cc;
> margin-left: 5px;
> margin-top: 5px;
> margin-right: 5px;
> margin-bottom: 5px;
> height: 100%;
> }
>
> That would probably account for the margin.

The ABOUT page has the same styling yet:

Screen captures viewed in PhotoShop show that MAP has actual margins of
top=12 and left=12. ABOUT has top=6 and left=6. I'm assuming that the
browser is contributing 1 pixel of margin, so the map page is getting an
additional six pixels somehow as part of the initialization.


--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

No comments:

Post a Comment