PDA

View Full Version : [CLOSED][DUP][3.??] IE8 - compatibility view issues



boylesw
17 Jun 2009, 7:45 AM
Just started experiencing this strange issue. During development and testing the site everything works fine. I am using IE8. Looking at the source the body is rendered as



<body class=" ext-ie ext-ie8" id="ext-gen21">


Which gives an output like in the image 'CorrectRendering'

Once the site has been published to a Server 2003 II6 system (still viewing with IE8) the body tag is rendered as:



<body class=" ext-ie ext-ie7" id="ext-gen21">


The following then happens (ComboOff and GridOff). The grid is rendered to the top left of the page while the dd button for the combo is rendered slightly below the field. I dont understand why the body is being rendered with the IE7 tag even though it's being viewed with IE8.

Condor
17 Jun 2009, 7:49 AM
IE8 Compatibility View will detect and render as IE7.

Did you enable CV for the server or is it on the Microsoft CV list?

Animal
17 Jun 2009, 7:50 AM
There are some <meta> tags which may be used to change IE8's rendering mode.

Do a View Source of that page.

aconran
17 Jun 2009, 7:55 AM
This can also happen if you are sending back headers instructing IE to render in compatibility view:
http://weblogs.asp.net/joelvarty/archive/2009/03/23/force-ie7-compatibility-mode-in-ie8-with-iis-settings.aspx

mjlecomte
17 Jun 2009, 11:16 AM
I think this kind of a duplicate of these two:
http://extjs.com/forum/showthread.php?t=70753
http://extjs.com/forum/showthread.php?t=70763

I'm going to mark this as DUP and CLOSED for time being.