[OpenLayers-Users] IE 7 doesn't show my "fluid" map
Nathan Gerber
ngerber999 at gmail.com
Wed Aug 4 13:57:11 EDT 2010
Not a fix, but rather a work around. Try setting a height and width to your
div manually. It is likely to break your absolute positioning unless you
setup a helper JavaScript function to detect what the width and height
should actually be.
--
Nathan Gerber
On Wed, Aug 4, 2010 at 11:40 AM, Franz Buchinger <fbuchinger at gmail.com>wrote:
> Hi,
>
> I want my openlayers map to fill the whole browser window, it should only
> leave 200px left and 150 px top offset for UI Elements.
>
> Here is my css for the map div:
>
> .fluid-map {
> position: absolute;
> left: 200px;
> right: 0px;
> margin: 0px;
> top: 150px;
> bottom: 0px;
> width: auto;
> height: auto;
> border: 1px solid black;
> }
>
> When I'm testing my map in IE8, it works fine. But in IE7 mode the map
> doesn't show up at all, although the div renders correctly. I also don't get
> any Javascript errors.
> The innerHTML of my map div contains OpenLayers markup.
>
> Any hints?
>
> Franz
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100804/bd7dbe7c/attachment.html
More information about the Users
mailing list