Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a custom ASP.NET web application which runs fine on IE6 without any issues. However, if I launch it on IE7/IE8, it complains of compatibility issues and all of my text is all overlapped.

A colleague of mine ( Microsoft Link is as here - http://support.microsoft.com/kb/968499 )sent these instructions.

 Click Start, click Run, type inetmgr.exe in the Open box, and then click OK. 

 Expand the server that you want, and then expand Web Sites. 

 Right-click the Web site, the folder, or the virtual directory that you want, and then click Properties. 

 On the HTTP Headers tab, click Add under Custom HTTP headers. 

 In the Custom header name box, type X-UA-Compatible. 

 In the Custom header valuebox, type IE=EmulateIE7. 

 Click OK two times

Now, he told that this is what needs to be done for making applications compatible with IE7 to run when I run an IE8 browser and just changing IE=EmulateIE7 to IE=EmulateIE6 should make the application compatible with IE6 to work on IE7 as well (I had my apprehensions, because I know that IE8 comes with a button which says compatible with IE6, but I have never seen a similar button in IE7).

Needless to say, it did not work!

Any thoughts on why it won't work this way for IE6?

share|improve this question
6  
Because IE6 is an abomination and should be destroyed. –  Phoshi Jan 27 '10 at 11:08
1  
@Phoshi: I know this is wrong and doesn't help anyone, but I wanna upvote you so many times. –  Bobby Jan 27 '10 at 11:18
    
This is the 'which button do I press to make it work' attitude so prevalent today. The problem here, as Phoshi said, is that IE6 is broken. A website which works well with IE6 is effectively broken too, and shouldn't be exected to work properly with an improved browser. –  pavium Jan 27 '10 at 12:00
    
Completely agree, howeer, we are not upgrading the web application anytime soon and we definitely need to be on IE7. I know I am asking for both the sun and moon at the same time, but can we get a diamond ring here without an eclipse? –  Kanini Jan 27 '10 at 12:11
    
I doubt it - IE8 includes a compatibility mode, just to try and kill off IE6, but IE7 had no such thing. I'm afraid it's either IE6, or IE8. (Please don't use IE6 :() –  Phoshi Jan 27 '10 at 12:50
show 2 more comments

3 Answers 3

IE 7, 8, Firefox, Chrome, are much more standard compliant. But if the app can only run on IE 6 and your machine already has IE 7 installed, then you can try running a Virtual Machine with a disk image with IE 6.

You can google VPC 2007 for Microsoft's Virtual PC 2007, and google vhd for the disk images.

VPC 2007 is officially for XP but the general consensus is it is also good for Vista.

VirtualBox is also a good alternative as a virtual pc. If you use Win 7, you can google virtual pc for the new info on the new Windows Virtual PC.

share|improve this answer
    
No, it is for my organization as a whole. So, having VPC is not an option. Thanks anyway! –  Kanini Jan 28 '10 at 4:38
add comment

You're problably looking at some stylesheet issues rather than anything in the code behind of the application. The rendering of pages in IE6 is much different than IE7 or 8. I've run into the same issues on occassion and usually it's just a simple tweek of a defind style.

You can use the IE Developer Toolbar (which works in both IE7 and comes standard in 8) to see the layout of divs tables and etc along with the associated styles. Find the offending markup, tweek it in both browsers until you can get a consistant rendering across the diffrent browsers.

Good luck and hope this helps some.

share|improve this answer
    
Link to IE developer toolbar: microsoft.com/downloads/… –  Broam Feb 4 '10 at 16:02
    
Toolbar also works in IE6. –  Broam Feb 4 '10 at 16:03
    
You are correct. It's been such a long time since I've used 6 I totally forgot about having had it installed with it. –  Chris Feb 4 '10 at 18:55
add comment

Your problem is that there is no "EmulateIE6". The possible vaules are listed in HTTP-EQUIV Attribute | httpEquiv Property.

I would try setting it to "IE=5" and see if that helps.

And absolutely imperative that you update the browsers to something modern.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.