proper sizing of mainbox on IE
authorGuillaume Cottenceau <gcottenc@gmail.com>
Mon, 15 Nov 2010 14:11:00 +0000 (15:11 +0100)
committerGuillaume Cottenceau <gcottenc@gmail.com>
Mon, 15 Nov 2010 14:11:00 +0000 (15:11 +0100)
index.html
style.css

index 882706d3a2015a8a931a694d3a8a861e632366f1..5b16e28efc3d31b84c0707398e101682428da5a9 100644 (file)
 
 <body onload="initialize()">
 
-  <div id="mainbox">
+  <div id="mainbox" style="height: 100%">
 
     <div id="debugbox"></div>
 
     </div>
 
 
-    <div style="border-top: solid 1px gray">
+    <div class="containermainbox">
       <div style="float: right; width: 75%; height: 100%">
          <div id="mapbox" style="width: 100%; height: 95%">
          </div>
index 9283508d8b38a439514c07044ed6ff6fd103c847..fb984c68084f2ab69f4b2d2a762f7d1687cb76f7 100644 (file)
--- a/style.css
+++ b/style.css
@@ -77,4 +77,10 @@ li { padding: 5px; }
 
 .iconwithtext {
     vertical-align: text-bottom;
+}
+
+.containermainbox {
+    border-top: solid 1px gray;
+    height: 100% !important;  /* e.g. for normal browser */
+    height: 90%;              /* e.g. for IE */
 }
\ No newline at end of file