don't match toolbar
authorGabriel Wicke <gwicke@users.mediawiki.org>
Mon, 19 Apr 2004 19:42:25 +0000 (19:42 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Mon, 19 Apr 2004 19:42:25 +0000 (19:42 +0000)
stylesheets/IEFixes.js

index 557ab41..79fd4ff 100644 (file)
@@ -73,7 +73,9 @@ function relativeforfloats() {
 function setrelative (nodes) {
     var i = 0;
     while (i < nodes.length) {
-        if(nodes[i].style.float != null || nodes[i].align != null) nodes[i].style.position = 'relative';
+        if(nodes[i].style.float != ('none'|null) ||
+                nodes[i].align != (''|null|'none'))
+            nodes[i].style.position = 'relative';
         i++;
     }
 }