ASP.net Menu控件在Google Chrome和Safari浏览器下显示错位的解决办法
时间:2020-10-03 10:16:21|栏目:.NET代码|点击: 次
复制代码 代码如下:
<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>
栏 目:.NET代码
本文标题:ASP.net Menu控件在Google Chrome和Safari浏览器下显示错位的解决办法
本文地址:http://www.codeinn.net/misctech/6488.html