testing for null now, some tables weren't matched before.
authorGabriel Wicke <gwicke@users.mediawiki.org>
Mon, 19 Apr 2004 18:24:39 +0000 (18:24 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Mon, 19 Apr 2004 18:24:39 +0000 (18:24 +0000)
stylesheets/IEFixes.js

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