Hey guys,
I searched this forum but didn't find any help for my problem. We've
build a very complex website with a lot of '<div>' - elements. We have
a basic initialization where all divs get the style property
'overflow:hidden'. This can't be changed or we have to set a hundred
times 'overflow:hidden' manually. The problem with the google maps
container is now, that it is displayed but no map shows up. So I tried
everything possible to get this to work. What I tried (but what didn't
solve the problem) was:
- setting this style of the map-container to overflow:visible
- setting the style of the surrounding div to overflow:visible
- creating a css-class with overflow:visible for the map and the
surrounding element
- creating an id-style (using #) applied to the map (also tried with
the surrounding element)
I guess that are all possibilities I got. So is there any other
solution?
Here is an example sourcecode, that didn't work and has everything I
tried inside:
<head>
<script type="text/javascript">
// google maps script is here works perfectly with overflow visible
but not in this case below
</script>
<style type="text/css">
div { overflow:hidden; } // hide all overflow
#map_canvas { overflow:visible;}
#x { overflow:visible;}
div.visible { overflow:visible;}
</style>
</head>
<body onload="initialize()" onunload="GUnload()">
<div class="visible">
<div class="visible">
<div class="visible">
<div id="x" class="visible">
<div class="visible" id="map_canvas" style="width:
500px; height: 300px;"></div>
</div>
</div>
</div>
</div>
</body>
Kind regards and thanks a lot for your help.
Phil
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---