This is not really a JavaScript question.  Go to the w3c schools or google CSS 
layout, your map div just goes where you described it. If you send your HTML 
and CSS maybe I can help.

Sent from my mobile device

On Dec 26, 2010, at 6:31 PM, Lauri Kajan <[email protected]> wrote:

> Hi everyone,
> 
> I'm struggling with OpenLayers map-divs and css layouts.
> 
> I would like to have a layout where is a header, a middle part with two 
> columns and a footer. OpenLayers should be in the middle left cell.
> The height of the header and footer are fixed and OpenLayers should have all 
> the rest space. The height of the layout should always be 100% of the 
> browsers window. Not less or more. Content of the middle right cell shouldn't 
> overflow but if that happens it would have scrollbars.
> 
> Is there a way to achieve a layout like this?
> 
> I would appreciate a lot if someone could help me.
> 
> Thanks,
> Lauri
> 
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to