From: Michael M Slusarz Date: Mon, 24 Aug 2009 16:43:39 +0000 (-0600) Subject: Fix CSS on IE 8 - don't display IE 7 CSS X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=449fccdb877626ab13d3dc69ecd9c06053a584e4;p=horde.git Fix CSS on IE 8 - don't display IE 7 CSS --- 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';