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 <[email protected]>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 > [email protected] > http://openlayers.org/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
