Stupid IE 6 bugs should use stupid IE conditionals that conform to HTML standards...
authorindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 12 Jun 2006 02:27:11 +0000 (02:27 +0000)
committerindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 12 Jun 2006 02:27:11 +0000 (02:27 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11198 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/page_header.php

index c88c78e711958bc9ca98550cec6e468a9ff4b248..199a80f0085d610ef7d45c2c882cbc0e8b0a582f 100644 (file)
@@ -88,16 +88,14 @@ function displayHtmlHeader( $title = 'SquirrelMail', $xtra = '', $do_hook = TRUE
 
     /* work around IE6's scrollbar bug */
     echo <<<ECHO
+<!--[if IE 6]>
 <style type="text/css">
-<!--
 /* avoid stupid IE6 bug with frames and scrollbars */
 body {
-    voice-family: "\"}\"";
-    voice-family: inherit;
     width: expression(document.documentElement.clientWidth - 30);
 }
--->
 </style>
+<![endif]-->
 
 ECHO;