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.
我需要为 Intraweb 组件设置自定义元标记。
如果我在模板 (HTML) 上设置元数据,那么这个元数据会出现在大量内容之后(自定义 Intraweb 元数据和自生成的 JavaScript)并且是无用的。如您所知,<meta http-equiv="X-UA-Compatible" content="IE=edge" />必须是页面的第一个元标记。
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
在这方面需要帮助。
我正在使用 Rad Studio 2007。
得到了解决方案。
只需将此行添加到“创建时”表单中
ExtraHeader.Add('<meta http-equiv="X-UA-Compatible" content="IE=Edge"> ');