当前位置:Gxlcms > asp.net > ASP.net Menu控件在Google Chrome和Safari浏览器下显示错位的解决办法

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

时间:2021-07-01 10:21:17 帮助过:28人阅读

代码如下:
<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>

人气教程排行