o que faz esse codigo
<meta http-equiv="X-UA-Compatible" content="IE=8">
o que faz esse codigo
<meta http-equiv="X-UA-Compatible" content="IE=8">
isso faz com que o ie renderize seu site ou aplicação usando os padrões css 2.1 por exemplo:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
<html>
<head>
<title>Test Page</title>
<meta http-equiv="X-UA-Compatible" content="IE=8"/>
<!--[if gte IE 8]>
<style type="text/css">
body {
color: #0000ff;
background-color: #000000;
}
</style>
<![endif]-->
<!--[if lt IE 8]>
<style type="text/css">
body {
color: #000000;
background-color: #ffffff;
}
</style>
<![endif]-->
</head>
<body>
<h1>
<!--[if gte IE 8]>
Chapter 1.
<![endif]-->
First Chapter
</h1>
<h1>
<!--[if gte IE 8]>
Chapter 2.
<![endif]-->
Second Chapter
</h1>
Text any version will see.
</body>
</html>
isso é considerado uma técnica para detectar o navegador, testa esse mesmo código no IE 8 e no firefox ou no chrome ele vai renderizar coisas diferentes no IE8 com o fundo preto e com os textos em azul.
problema que quando eu coloco ele no servidor n funciona e fica como padrão do IE7
alguem sabe pq isso ocorre,ou tem alguma sugestão aonde colocar esse codigo…
abrx