CSS not showing in IE6
CSS not showing in IE6
I have this problem with IE6. Whenever you go to my site, the page loads fine. However, if you click on any link, the following page loads as if the CSS doesn't exist. I have no idea why this is happening and this is only happening in IE6. I have the latest version of CMS Made Simple by the way.
Re: CSS not showing in IE6
Forgot to mention that if you click on refresh, then it shows the CSS but again, if you click on a link (even if the link is back to the same page), the problem still exist.
Re: CSS not showing in IE6
After some testing, here are some more information:
It seems to be relating to the gzip compression of the CSS. Strange thing is that if it is the first time, then IE6 can read it but if any link is clicked, then it cannot. Anyone know why this is happening?
Lastly, here is the link to my site for reference: http://tiger-inc.com
It seems to be relating to the gzip compression of the CSS. Strange thing is that if it is the first time, then IE6 can read it but if any link is clicked, then it cannot. Anyone know why this is happening?
Lastly, here is the link to my site for reference: http://tiger-inc.com
Re: CSS not showing in IE6 (Solved)
Figured out the solution myself. Change the begin lines of stylesheet.php to
should fix it.
Code: Select all
if(is_numeric(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6'))) {
ob_start();
} else {
header('Content-Encoding: gzip');
ob_start('ob_gzhandler');
}