You'll need to use CSS. It'd be something like:

map.html file:

<html>
<header> 
 include the stylesheet 
 include OL scripts here  
</header>
<body>
<div id="wrapper">
<div id="sidebar">  Sidebar HTML Goes Here  </div>
<div id="map"></div>
</div>  End wrapper div 
</body>
</html>


style.css file:

html, body { height: 100%; width: 100%}

#wrapper {height: 100%; width: 100%}

#sidebar {float: left; height: 100%; width: 150px;}

#map {float: right; height: 100%; width: 100%;}

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Sidebar-and-width-tp4938065p4947267.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to