On 9 April 2011 17:16, Doman <[email protected]> wrote:
>
> And I get non-transparent zoom and direction controls and this strange
> fragmentation of map.
>
> <div id="mapka" style="background: none repeat scroll 0% 0% transparent;
> border: 1px solid black; height: 900px; width: 900px;">
> </div>
>
> How to solve this problem>
It's a CSS issue. Your blog CSS is adding
.post-body img, .post-body .tr-caption-container, .Profile img, .Image
img, .BlogList .item-thumbnail img {
-moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
background-color: #FFFFFF;
which affects all the images in your posts, including the images
making up the map.
You need to counteract those. Something like the following might work.
A <style> element should go in the page header, although you may have
no option except to put it in the body.
<style>
#mapka img {
-moz-box-shadow: none;
background: transparent;
}
</style>
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.