javascript - Difference between IE8 & EmulateIE8 -


i added compatibility mode meta tag @ top of header force browser render in ie8 mode. working ie10 & ie11 not ie9.

<meta http-equiv="x-ua-compatible" content="ie=ie8" /> 

can 1 explain doing wrong here? should use content="ie=emulateie8" instead of content="ie=ie8"?

well, following links provided carpetsmoker , www.sblog.in end broad answer , improved more sources. found:

starting ie8 beta2 there new way make site compatible. way know ie=emulateie7 (it supports newer browser in question).

in same link provided this:

ie=7: display in ie7 standards mode.

ie=emulateie7: display standards doctypes in ie7 standards mode; display quirks doctypes in quirks mode.

so when specifying version ie=8 make clear page needs use advanced standards browser use have , not wayt render.

in other way if specify ie=emulateie8 browser make decision if render version standards or quirks mode. if ie8 use render www.example.com quirks mode, ie11 receiving ie=emulateie8 make same choice.

in compatibility perspective proper way make page backward compatible choose use emulate version always.

i've found this useful chart demonstrating path ie uses determine witch document mode uses , can see decisions change because emulate version of tag.

p.s.

i won't paste image directly here because large fits in q&a width.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -