From 449fccdb877626ab13d3dc69ecd9c06053a584e4 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 24 Aug 2009 10:43:39 -0600 Subject: [PATCH] Fix CSS on IE 8 - don't display IE 7 CSS --- framework/Core/lib/Horde.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/Core/lib/Horde.php b/framework/Core/lib/Horde.php index ed64e3fd9..86276a483 100644 --- a/framework/Core/lib/Horde.php +++ b/framework/Core/lib/Horde.php @@ -1805,8 +1805,8 @@ HTML; switch ($GLOBALS['browser']->getBrowser()) { case 'msie': $ie_major = $GLOBALS['browser']->getMajor(); - // TODO: IE8 specific styling - if ($ie_major >= 7) { + if ($ie_major == 8) { + } elseif ($ie_major == 7) { $css_list[] = 'ie7'; } elseif ($ie_major < 7) { $css_list[] = 'ie6_or_less'; -- 2.11.0