0

When i browse one site my IE9 is set in Quirks Mode:

I put in my header's site http-equiv="X-UA-Compatible" content="IE=edge,chrome=1 but nothing change.

My doctype is "Strict".

Help me please :(

Adam Rackis
  • 82,527
  • 56
  • 270
  • 393
Doretto
  • 51
  • 6

1 Answers1

6

Just to cover our bases, have you added

<!DOCTYPE html>

to the head of your document?

according to MSDN, that should be the only necessary change to put IE9 into standards mode. If you do not have the !Doctype directive, then IE9 will go into IE5 mode!(Quirks) .. so make sure you have it!

the_5imian
  • 887
  • 4
  • 7
  • i have set this DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd – Doretto Jul 23 '12 at 14:10
  • ok problem resolve... I add and move up meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" as second meta tag ^^ thnx – Doretto Jul 23 '12 at 14:23
  • 5
    ok, then mark this as the correct answer, thanks because that is what I said to do. – the_5imian Jul 23 '12 at 16:03