some ie fixes
authorGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 15 Apr 2004 09:15:38 +0000 (09:15 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 15 Apr 2004 09:15:38 +0000 (09:15 +0000)
stylesheets/IEFixes.js
stylesheets/monobook/IE50Fixes.css
stylesheets/monobook/IE55Fixes.css
stylesheets/monobook/IE60Fixes.css
stylesheets/monobook/main.css

index 02f5d42..25991cc 100644 (file)
@@ -8,15 +8,30 @@ function fixalpha(){
     var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, '');
     if (rslt != null && Number(rslt[1]) >= 5.5)
     {
+        var logoa = document.getElementById('portlet-logo').firstChild;
+        var bg = logoa.currentStyle.backgroundImage;
+        if (bg.match(/\.png/i) != null){
+            var mypng = bg.substring(5,bg.length-2);
+            logoa.style.backgroundImage = "none";
+            logoa.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mypng+"', sizingMethod='image')";
+        }
+
+
+    
+    /*
         for (i=0; i<document.all.length; i++){
-            var bg = document.all[i].currentStyle.backgroundImage;
+            if(document.all[i].currentStyle && document.all[i].currentStyle.backgroundImage) {
+                var bg = document.all[i].currentStyle.backgroundImage;
+            } else {
+                bg = false;
+            }
             if (bg){
                 if (bg.match(/\.png/i) != null){
                     var mypng = bg.substring(5,bg.length-2);
-                    document.all[i].style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mypng+"', sizingMethod='image')";
                     document.all[i].style.backgroundImage = "none";
+                    document.all[i].style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mypng+"', sizingMethod='image')";
                 }
             }
-        }
+        }*/
     }
 }
index 79abb7d..25db90c 100644 (file)
@@ -118,4 +118,10 @@ table.listing td.top {
     left: -1px;
     top: -1px;
 }
+.visualClear {
+    width:100%;
+    height: 0px;
+    padding:0;
+    margin:0;
+}
 /*div{ border:1px solid Red !important;}*/
index 96edf71..47b34fd 100644 (file)
@@ -60,3 +60,9 @@ body {
 #portlet-logo a:hover {
     cursor: pointer;
 }
+.visualClear {
+    width:90%;
+    height: 1px;
+    padding:0;
+    margin:0;
+}
index 67b2733..f645e25 100644 (file)
@@ -68,4 +68,10 @@ div.thumbnail-none p, div.thumbnail-right p, div.thumbnail-left p {
 #portlet-logo a:hover {
     cursor: pointer;
 }
+.visualClear {
+    width:100%;
+    height: 0px;
+    padding:0;
+    margin:0;
+}
 /*{ border:1px solid Red !important;}*/
index 45deac4..f58d5f9 100644 (file)
@@ -55,6 +55,7 @@ body {
 
 table {
     font-size: 100%;
+    background: White;
 }
 a {
     text-decoration: none;
@@ -457,7 +458,6 @@ table.rimage {
     padding-right: 18px;
 }
 .visualClear {
-    display: block;
     clear: both;
 }
 
@@ -910,12 +910,16 @@ li#contentaction-watch {
 *>html #portal-column-content {
     display: inline;
 }
-/* the full-size images are in center tags */
-* html #bodyContent center, 
+/* more IE fixes */
+* html #bodyContent span.fullImage,
 * html #bodyContent pre {
     overflow: auto;
+    margin-bottom: 1.5em;
 }
 
+* html #bodyContent {
+    display: inline;
+}
 
 /* opera 6 fixes */
 html>body #portal-column-one {