Fix CSS on IE 8 - don't display IE 7 CSS
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 24 Aug 2009 16:43:39 +0000 (10:43 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 24 Aug 2009 18:14:07 +0000 (12:14 -0600)
framework/Core/lib/Horde.php

index ed64e3f..86276a4 100644 (file)
@@ -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';