Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能告诉我为什么这个页面没有强制浏览器进入兼容模式?
我已将此添加到 HEAD:
<meta http-equiv="X-UA-Compatible" value="IE=8" />
<!DOCTYPE>应该在文件的第一行。X-UA-Compatible应该在任何link或script任何其他之前,这可能会影响文档模式。你X-UA-Compatible的格式也不正确,应该是<meta http-equiv="X-UA-Compatible" content="IE=8" />. 火灾initpage()时未定义。body.onload
<!DOCTYPE>
X-UA-Compatible
link
script
<meta http-equiv="X-UA-Compatible" content="IE=8" />
initpage()
body.onload