I have a site that seems fine in all the browsers I’ve tried except IE8 so having searched for a solution thought it easiest to force IE8 into IE7 compatibility mode using:
The problem with this is that it also renders IE9 as IE7 which is not what I want.
I’m thinking of setting the header in PHP if the user agent is IE8 instead of doing it in the .htaccess file but having read several articles I’m not clear why the <meta> tag doesn’t work on its own and if I’m setting the header for IE7 compatibility whether I also need the <meta> tag.
I would have thought that, rather than forcing the compatibility level downwards, you should be identifying the issues that prevent the site from working properly in IE8, then look for solutions.
If you can try to isolate the specific code that’s giving problems, there are plenty of people here who can help solve them.
You’re right, of course. Mike. There are so many issues with different versions of IE I thought it would be the best solution but the time I’ve spent on it so far suggests I’m wrong. The website is http://www.william-stewart.com/ and the problem seems to be around