]> git.openstreetmap.org Git - osqa.git/commitdiff
IE6 fixed positioning fix
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 9 May 2011 17:33:49 +0000 (17:33 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 9 May 2011 17:33:49 +0000 (17:33 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1033 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/skins/default/media/style/default.css
forum/skins/default/media/style/style.css
forum/skins/default/templates/base_content.html

index c8b41f2c3548562b220da4034b8a5825cf4332b7..0cfd336894fca4d5167cf188a4c82d12e380008f 100644 (file)
@@ -20,8 +20,12 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
        vertical-align: baseline;
        background: transparent;
 }
+html, body {
+    height: 100%;
+    overflow: auto;
+}
 body{
-    font-family: "segoe ui",Helvetica,"Microsoft YaHei",ËÎÌå,Tahoma,Verdana,MingLiu,PMingLiu,Arial,sans-serif;
+    font-family: "segoe ui",Helvetica,"Microsoft YaHei",����,Tahoma,Verdana,MingLiu,PMingLiu,Arial,sans-serif;
     font-size: 80%;
 
     margin:0;
@@ -29,6 +33,12 @@ body{
     text-align:center;
     line-height: 1;
 }
+.wrapper {
+    position: relative;
+    width: 100%;
+    height: 100%;
+    overflow: auto;
+}
 blockquote, q
 {
        quotes: none;
@@ -48,7 +58,7 @@ input, select, button, textarea
 {
        border: 1px solid #999;
        font-size:100%;
-    font-family:"segoe ui",Helvetica,"Microsoft YaHei",ËÎÌå,Tahoma,Verdana,MingLiu,PMingLiu,Arial,sans-serif;
+    font-family:"segoe ui",Helvetica,"Microsoft YaHei",����,Tahoma,Verdana,MingLiu,PMingLiu,Arial,sans-serif;
 }
 
 input
@@ -131,7 +141,7 @@ h2 {
     font-weight:bold;
     margin-bottom:7px;
 }
-h3 {display:block;font-size:120%;font-family:Trebuchet MS,"segoe ui",Helvetica,"Microsoft YaHei",ËÎÌå,Tahoma,Verdana,MingLiu,PMingLiu,Arial,sans-serif;font-weight:bold;}
+h3 {display:block;font-size:120%;font-family:Trebuchet MS,"segoe ui",Helvetica,"Microsoft YaHei",����,Tahoma,Verdana,MingLiu,PMingLiu,Arial,sans-serif;font-weight:bold;}
 h3 a:visited{
    color:#86B0E1;
 }
@@ -715,7 +725,7 @@ h4 {display:block;font-size:90%; font-family:Verdana;color:#ccc;}
        padding: 2px 4px 2px 4px;
        text-decoration: none;
     height:20px;
-    font-family:Microsoft Yahei,ËÎÌå,Tahoma;
+    font-family:Microsoft Yahei,����,Tahoma;
        font-size: 90%;
        line-height: 2.2;
        white-space:nowrap;
@@ -953,7 +963,7 @@ div.grippie {
 }
 
 .openid-samples .list, .list li{
-    font-family:Trebuchet MS,"segoe ui",Helvetica,"Microsoft YaHei",ËÎÌå,Tahoma,Verdana,MingLiu,PMingLiu,Arial,sans-serif;
+    font-family:Trebuchet MS,"segoe ui",Helvetica,"Microsoft YaHei",����,Tahoma,Verdana,MingLiu,PMingLiu,Arial,sans-serif;
     list-style:none !important;
     margin-left:-30px !important;
     line-height:20px !important;
index 84b2c236f26f175a32fe9389d1cc7dcd6b8c206d..f2c73a50cbd7d365f19c7e5842b72d41c6b1f8bf 100644 (file)
@@ -1199,6 +1199,10 @@ ins {
     z-index: 100;
 }
 
+* html .notify {
+    position: absolute;
+}
+
 .notify p {
     font-size: 16px;
     margin-bottom: 5px;
index 8bae0ea4d34d36d3ecb141f2293c84b384521045..8e5d7a5e53201b80597936c64f6e9c05eab3fd42 100644 (file)
         {% loadregistry head_content %}{% endloadregistry %}
     </head>
     <body>
-        <div class="notify" style="display:none">
-            {% autoescape off %}
-                {% if user_messages %}
-                    {% for message in user_messages %}
-                          <p class="darkred">{{ message }}</p>
-                    {% endfor %}
-                {% endif %}
-            {% endautoescape %}
-            <a id="close-notify" onclick="notify.close(true)">&#215;</a>
-        </div>
+        <div class="wrapper">
         {% if settings.USE_CUSTOM_HEADER|or_preview:request %}
             <div id="custom_header">
                 {{ settings.CUSTOM_HEADER|or_preview:request|static_content:settings.CUSTOM_HEADER_RENDER_MODE }}
                 })();
             </script>
         {% endif %}
+        </div>
+
+        <div class="notify" style="display:none">
+            {% autoescape off %}
+                {% if user_messages %}
+                    {% for message in user_messages %}
+                          <p class="darkred">{{ message }}</p>
+                    {% endfor %}
+                {% endif %}
+            {% endautoescape %}
+            <a id="close-notify" onclick="notify.close(true)">&#215;</a>
+        </div>
     </body>
 </html>
 <!-- end template base_content.html -->