From 824dff8c3049274bc00e305b2e4e6dcd8cd22323 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Mon, 19 Apr 2004 19:42:25 +0000 Subject: [PATCH] don't match toolbar --- stylesheets/IEFixes.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stylesheets/IEFixes.js b/stylesheets/IEFixes.js index 557ab4146a..79fd4ff21e 100644 --- a/stylesheets/IEFixes.js +++ b/stylesheets/IEFixes.js @@ -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++; } } -- 2.20.1