不修改minimal.master和v4.master。如何添加< Meta>标签 [英] Without modifying the minimal.master and v4.master.How to add <Meta> tag
问题描述
任何人都可以建议我这是个好主意到&NBSP;修改文件minimal.master,v4.master 在sharepoint 2010。
Can anybody suggest me please is it good idea to modify the files minimal.master,v4.master in sharepoint 2010.
因为我 我正面临上述两个文件中的一个问题。因为< meta>是上述文件中IE8的目标。我需要
Since i am facing one issue in the above two files.Since <meta> is target for IE8 in the above files. I need
更改< meta>标签为IE11.So请建议我可以修改上述文件或我可以做任何其他方式而不修改上述两个文件
to change the <meta> tag to IE11.So please suggest me can i modify the above files or i can do any other way without modify the above two files
问候,
Rama
Rama
推荐答案
SharePoint 2010默认母版页具有"< meta http-equiv =" X-UA-Compatible" content =" IE = 8" />"标签下的标签。这意味着SharePoint 2010默认使用IE
8兼容文档模式。
访问页面时,母版已经存在在加载页面之前已加载,浏览器已经在IE8模式下呈现,更改将不会生效。所以,
,你需要改变"< meta http-equiv =" X-UA-Compatible" content =" IE = 8" />"在母版页中指向特定的渲染模式。
< span style ="color:#1f497d">注意:B 在编辑之前确认母版页。
了解有关
的更多信息
SharePoint 2010中的母版页。
要强制特定页面使用IE 11,您可以使用HTML创建自己的页面文件并加载使用iframe的页面。
这是一个演示:
https://paultavares.wordpress.com/ 2015/01/20 /如何渲染的-A-SharePoint的页入-IE-使用边缘模式,而无需改变最主页/ 跨度>
SharePoint Server 2010的浏览器支持:
最好的问候,
Linda Zhang
这篇关于不修改minimal.master和v4.master。如何添加< Meta>标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!