Selaa lähdekoodia

Stupid IE 6 bugs should use stupid IE conditionals that conform to HTML standards. Tested in IE 6 and Firefox 1.5.

indiri69 19 vuotta sitten
vanhempi
commit
f65b92a48d
1 muutettua tiedostoa jossa 2 lisäystä ja 4 poistoa
  1. 2 4
      functions/page_header.php

+ 2 - 4
functions/page_header.php

@@ -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;