html - 如何为 HTA(Html 应用程序)选择 Internet Explorer 的版本?
问题描述
我默认创建 HTA(HTML 应用程序),它使用 Internet Explorer 9.0,但我需要 Internet Explorer 7.0。我试着写:
<meta http-equiv="x-ua-compatible" content="IE=7">
但它不起作用!
解决方案
尝试:
<meta http-equiv="x-ua-compatible" content="IE=7">
或其他版本:
<meta http-equiv="x-ua-compatible" content="IE=8">
或者
<meta http-equiv="x-ua-compatible" content="IE=9">
或者
<meta http-equiv="x-ua-compatible" content="IE=10">
或者
<meta http-equiv="x-ua-compatible" content="IE=edge">
推荐阅读
- .htaccess - 为什么我的重写规则没有添加尾部斜杠?
- powershell - 使用 powershell 从目录中获取唯一扩展的数量
- ros - 在尝试编译 ROS 包时解决 GLIBC 错误
- sharepoint - 在 Sharepoint 中使用 css 更改 javascript 样式
- python - Python 和 pandas 循环无法在 xlsx 中写入行
- javascript - 雪花 SQL + Javascript 可能吗?
- python - argparse 错误: 'nargs 必须是 %r 才能提供 const' % OPTIONAL)
- python - 将默认值 0 设置为 IntegerField 不起作用
- java - 删除旧表并创建新表并预填充它 - RoomDatabase
- django - GitHub Actions 中的 Docker 构建与本地构建具有不同的行为