<div id="mainWindow" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="design:'headline', gutters:false" style="width:100%; height:100%;"> <div id="header" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'top'" style:"height:50px;"> <span> City Centre Forward Planning </span> </div> <div id="leftPane" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'left'" style="width:275px;"> Legend <div id="tocDiv"></div> </div> <div id="centerPane" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="region:'center', gutters:false"> <div id="mapDiv" data-dojo-type="dijit/layout/ContentPane" class="shadow" data-dojo-props="region:'center'" style="overflow:hidden;"> </div> <div id="footer" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'bottom',doLayout:false"> <div id="timeInfo"> <div>City Centre Forward Planning works from <span id="daterange">2013 to 2024</span></div> <div id="timeSliderDiv"></div> </div> </div> </div> </div>
html, body { height: 100%; margin: 0; padding: 0; width: 100%; font-family: "Trebuchet MS"; } #header { background-color: #666666; border: 1px solid #ffffff; color: #ffffff; font-size: 21pt; font-weight: bold; height: 30px; overflow: hidden; padding: 15px; text-align: left; } #leftPane { background-color: #FAFAFA; border: 2px solid #B5BCC7; color: #666666; } #centerPane { border: medium none; width: 100%; height: 100%; } #footer { background-color: #666666; border: 2px solid #B5BCC7; color: #ffffff; font-size: 13pt; height: 78px; margin: 10px; padding: 10px; text-align: center; } .roundedCorners { -moz-border-radius: 4px; -webkit-border-radius: 4px; -o-border-radius: 4px; } #mapDiv { border: 10px solid #B5BCC7; margin: 5px; } .dijitBorderContainer, .dijitGutter { background-color: #D0EFF3 !important; } .shadow { background-color: #FFFFFF; border: 4px solid #B5BCC7; box-shadow: 0 6px 3px -3px #888888; padding: 8px; }
<div id="container" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="design:'headline', gutters:false, style:'width:100%;height:100%;'"> <div id="header" class="roundedCorners" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'top', style:'height:50px;'"> This is the header section </div> <div id="left" class="roundedCorners" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'left', style:'width:275px;'"> This is the left section </div> <div id="center" data-dojo-type="dijit/layout/BorderContainer" class="roundedCorners" data-dojo-props="region:'center', gutters:false"> <div id="map" data-dojo-type="dijit/layout/ContentPane" class="shadow" data-dojo-props="region:'center', style:'padding:0;overflow:hidden;'"></div> <div id="footer" class="roundedCorners" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'bottom', doLayout:false"> This is the footer section </div> </div> </div>
<body class="claro"> <div id="mainWindow" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="design:'headline', gutters:false" style="width:100%; height:100%;"> <div id="header" class="roundedCorners" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'top'"> <span> This is the header section </span> </div> <div id="leftPane" class="roundedCorners" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'left'" style="width:275px;"> This is the left section </div> <div id="centerPane" data-dojo-type="dijit/layout/BorderContainer" class="roundedCorners" data-dojo-props="region:'center', gutters:false"> <div id="map" data-dojo-type="dijit/layout/ContentPane" class="shadow" data-dojo-props="region:'center'" style="position:absolute; overflow:hidden;"> </div> <div> <div id="footer" class="roundedCorners" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'bottom'"> This is the footer section </div> </div> </div> </body> </html>
borderContainer.resize();
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.