]> git.openstreetmap.org Git - rails.git/commitdiff
Force the map div to fill the page.
authorTom Hughes <tom@compton.nu>
Mon, 23 Mar 2009 17:37:50 +0000 (17:37 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 23 Mar 2009 17:37:50 +0000 (17:37 +0000)
public/export/embed.html

index 55d11ebbe9fc5e6a826e37b0e6ea4942508173bd..20e1d2ac9672c0fddb66917d8485626aac8178e9 100644 (file)
@@ -3,6 +3,15 @@
   <head>
     <title>OpenStreetMap Embedded</title>
     <style type="text/css">
+        html {
+            width: 100%;
+            height: 100%;
+       }
+        body {
+            width: 100%;
+            height: 100%;
+            margin: 0px;
+        }
         #map {
             width: 100%;
             height: 100%;