Hi,

You might be better off making use of a JavaScript UI library like jQuery UI or ExtJS, etc.

Here is a GeoExt (based on OpenLayers and ExtJS) example that does something similar to what you want to achieve:
http://api.geoext.org/1.0/examples/mappanel-viewport.html

Here is something similar using jQuery (using  jquery-layout plugin):
http://blog.spaziogis.it/static/jquerymap/

Regards, Roald

On 27/12/10 10:31, Lauri Kajan 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