不修改minimal.master和v4.master。如何添加< Meta>标签 [英] Without modifying the minimal.master and v4.master.How to add <Meta> tag

查看:65
本文介绍了不修改minimal.master和v4.master。如何添加< Meta>标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以建议我这是个好主意到 修改文件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的浏览器支持:

https://docs.microsoft.com/en-us/previous-versions/office/sharepoint-server-2010/cc263526(v = office.14)

最好的问候,

Linda Zhang


这篇关于不修改minimal.master和v4.master。如何添加&lt; Meta&gt;标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆