From: Gabriel Wicke Date: Mon, 19 Apr 2004 18:24:39 +0000 (+0000) Subject: testing for null now, some tables weren't matched before. X-Git-Tag: 1.3.0beta1~375 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=0e06e0de6de8ce245f7bf14cdbaede81bacda996;p=lhc%2Fweb%2Fwiklou.git testing for null now, some tables weren't matched before. --- 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++; } }