简体   繁体   中英

How to set Documents mode Quirks in asp.net

我正在使用IE 10,并且希望将浏览器的文档模式设置为普通的怪癖而不是我网站的IE 5怪癖。我将<meta http-equiv="X-UA-Compatible" content="IE=10;IE=9;IE=edge">在我的主页上没有运气,任何人都可以分享您的想法

Check if you have included the doctype at the top of your master page.

<!DOCTYPE html>

If the browser supports the above tag( HTML5 ),It will make the browser to render the page at its highest version.

And the meta tag should be like this:

<meta http-equiv="X-UA-Compatible" content="IE=10,9,edge">

IE9 and below versions will render the page to IE5.5 version in Quirks mode.

MSDN Reference

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM