asp.net - Force Browser and Document Mode to ie9 in ie10 -


this code:

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

seems change document ie9 , not browser. ideas other hitting f12 , changing manually?

a site can not set browser mode. browser mode chosen before browser requests content site. specifies how browser identified site, such ua string.

as mentioned, document mode can set author including x-ua-compatible meta element, or doctype used. overrides default set browser browser mode.

changing browser mode useful using ie test how earlier version of ie handle site. can change on local machine (but not site whole) changing in f12 tool.

the user (and developer) can change browser mode clicking on compatibility view icon in url field. machine, , not users.

the way change browser mode globally site added ms’ compat view list. don’t want unless site uses ton of old ms vendor specific code, , not updated.

you can read more @ http://blogs.msdn.com/b/ie/archive/2010/10/19/testing-sites-with-browser-mode-vs-doc-mode.aspx


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -