[OpenLayers-Users] IE 7 doesn't show my "fluid" map

Franz Buchinger fbuchinger at gmail.com
Wed Aug 4 11:40:04 EDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100804/d2695f79/attachment.html


More information about the Users mailing list