[OpenLayers-Users] IE: OpenLayers not visible

Andreas Hocevar ahocevar at opengeo.org
Sun Nov 29 11:43:39 EST 2009


Chau wrote:
>
> That is so true, but in those cases - for me atleast - IE responds with an
> error pointing at some random object error.
>
> I my case, it was a question of trying to create a fullscreen map, which
> resulted in my map being invisible in IE, but still available for
> manipulation. How I am able to move around in an invisible map, I don't
> know.
>   

Fullscreen? This is a CSS issue. If you want that to work, you have to 
either make your page run in quirks mode (i.e. without setting a 
doctype, see http://openlayers.org/dev/examples/fullScreen.html), or you 
need to set a width and height of 100% not just on your map div, but 
also on the body and the html elements of your document

Regards,
Andreas.

Regards,
Andreas.

> Kenneth, Thanks for your fast answer.
>
> /Casper
>   


-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.




More information about the Users mailing list