So IE 8 is out in the Internet, everybody will be using this (including those that are using a public beta of Windows 7, which hey MIILLIIOONSS) is your site ready?
If you cannot re-work your site and you just want to tell the IE8 to just display the site as IE7. You must add a meta http header "X-UA-Compatible: IE=EmulateIE7". That’s per page 😦 well if you use ASP.net master page this may sound a little less frustrating.
But there is a quick and veeerryy easy fix to do this, thru IIS 7.0 HTTP response headers!
To do this, all you have to do is go to your IIS 7.0 Manager, click the site you are hosting and under IIS group launch HTTP Response Headers, just double click it.
And this window appears
On the Response Headers window, right click then choose add..
Then this dialog box will come up.
for the name type "X-UA-Compatible" and for the Value type "IE=EmulateIE7"
(No quotes please)
Click OK and its already fixed!
There you have it, fixing and making your IE7 sites be viewed in IE 8 without any code changes thru IIS 7.0 HTTP Response Headers.