首页 > 编程 > .NET > 正文

ASP.net Menu控件在Google Chrome和Safari浏览器下显示错位的解决办法

2020-01-18 01:16:39
字体:
来源:转载
供稿:网友
复制代码 代码如下:

<browsers>
<browser id="Safari3" parentID="Safari1Plus">
<identification>
<useragent match="Safari//d+/./d+" />
</identification>
<capture>
<useragent match="Version/(?'version'/d+/./d+)" />
</capture>
<capabilities>
<capability name="browser" value="Safari3" />
<capability name="version" value="${version}" />
</capabilities>
<controladapters>
<adapter controlType="System.Web.UI.WebControls.Menu"
adapterType="" />
</controladapters>
</browser>
<browser id="GoogleChrome" parentID="Safari3">
<identification>
<useragent match="Chrome/(?'version'/d+/./d+)" />
</identification>
<capabilities>
<capability name="browser" value="Googlebot" />
</capabilities>
</browser>
</browsers>
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表