My menues and some CSS is not working in IE 9

My site: www.burningtree.com is having IE 9 issues.
The menues top middle and footer are all disapearing.
If I select compatability mode in the browser they all show up and the formatting is corrected.

I inhearted this site and noticed that there was code in the header.php file (wordpress) that checked the browser type and I tried to modify it for IE 9:
<?php if (strpos($_SERVER['HTTP_USER_AGENT'],"MSIE 8")) {
header("X-UA-Compatible: IE=7");} ?>
<?php if (strpos($_SERVER['HTTP_USER_AGENT'],"MSIE 9")) {
header("X-UA-Compatible: IE=7");} ?>

But this does not seem to matter.

How can I force this to work in compatiblity mode?
LVL 3
jbrashear72Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jmnfCommented:
Try adding the following to the html header.

<meta http-equiv="X-UA-Compatible" content="IE=9" />

Open in new window


This code works for IE8, hope it helps
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jbrashear72Author Commented:
I added it. can you tell in IE 9 what it looks like to you?
0
jmnfCommented:
I don't have IE9 installed, only 8, but let me install IE9 and i'll get back to you
0
jmnfCommented:
Well, I use XP at work and can't install it here, @ home I use Win 7 and will install it. I'll keep you posted, but it will be long (7 hrs) before i go back home.
0
jbrashear72Author Commented:
OK cool thanks. Yea I have it added and just tried it on my notebook. I just upgraded to IE 9 and FF 4 on the WIN 7 Ultimate 64bit notebook. The index page is still having the same troubles. now I added a test var in the url:
http://www.burningtree.com/?test=1234
and the compatibility icon did not show up and the page rendered ok. But it doesn't always work. It seems to be random.


0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.