覆盖SharePoint 2010中与X-UA兼容的元 [英] overwrite X-UA-Compatible meta in SharePoint 2010
本文介绍了覆盖SharePoint 2010中与X-UA兼容的元的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用SharePoint 2010,并且想使用
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
用于特定页面.
母版页将其设置为"IE = 8",这不允许我在CSS中使用盒子阴影.
I am working on SharePoint 2010 and I want to use
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
for a specific page.
The master page is setting it to "IE=8" which doesn't allow me to use box-shadow in CSS e.g.
我无权更改母版页. 另外我已经读到,不建议在母版页中更改该元数据,因为它可能导致日历等其他问题.
I don't have access to the masterpage to change it. Also I have read that changing that meta in master page is not recommended as it might cause issues with other things like calendars or whatever.
所以我的问题是:有没有办法在一个简单的页面(.aspx)中覆盖X-UA兼容的元标记?
So my Q is: is there any way of overwriting the X-UA-Compatible meta tag in a simple page (.aspx)?
推荐答案
查看全文