There is some mechanism, which IE browser family uses to guess what rendering mode would be the best. There is more reading about this topic:
X-UA-Compatible is set to IE=edge, but it still doesn't stop Compatibility Mode
So there is a way how to say, which IE version you are targeting. Put this html tag as the first (really the first) in the <head>
element after the <title>
<!DOCTYPE html>
<html>
<head>
<title>My Web</title>
<meta http-equiv="X-UA-Compatible" content="IE=100" >
...
content should be contain="IE=8"
if you are targeting IE 8.0, IE=100 will work for IE 9.0++.
I've read that this behavior won't work on intranet, but my experinece
is different. The point is that that <meta>
element MUST be the first!
The first means, no comment before. Nothing just the first one after the title.
For example, I do some investigation on the server side in code to check what version it is, and put the meta related to the browser - as the first element