iframe height not taken into account by IE8
Posted
by Pedro
on Stack Overflow
See other posts from Stack Overflow
or by Pedro
Published on 2010-06-10T15:38:23Z
Indexed on
2010/06/10
22:32 UTC
Read the original article
Hit count: 258
Hi guys,
I'm building a dummy widget for a iGoogle/Netvibes like portal. This is a "Google Maps" widget, as it only renders a map centered on a specific location.
The widget looks good in all browsers but IE8, in which the height I specify to the <div>
that contains the map is not taken into account.
Here's the interesting part of the code:
<body onload="initialize()" >
<div id="map_canvas" style="height:400px; width: 100%;"></div>
</body>
I have no control on the portal, so the only thing I can modify is the widget itself. I also tried to set the height for the <body>
, but same thing.
Any idea on why it's not working in IE?
Thanks!
© Stack Overflow or respective owner