From 0e06e0de6de8ce245f7bf14cdbaede81bacda996 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Mon, 19 Apr 2004 18:24:39 +0000 Subject: [PATCH] testing for null now, some tables weren't matched before. --- stylesheets/IEFixes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stylesheets/IEFixes.js b/stylesheets/IEFixes.js index e2c85343e9..557ab4146a 100644 --- a/stylesheets/IEFixes.js +++ b/stylesheets/IEFixes.js @@ -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++; } } -- 2.20.1