asp.net menu control not rending correctly in safari

后端 未结 9 1008
没有蜡笔的小新
没有蜡笔的小新 2020-12-31 17:56

The site I\'m working on is using a Databound asp:Menu control. When sending 1 menu item it renders HTML that is absolutely correct in Firefox (and IE), but really messed u

9条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-31 18:46

    The issue with Chrome and Safari not rendering the menu control properly is due to the navigation skiplink image box being rendered by Chrome and Safari.

    If you do a css display: none; on the image for the skiplink then the menu control positions itself like it should.

    I've tested this on a simple 1 level menu and not nested menus.

    http://www.s-t-f-u.com/2011/05/05/asp-net-menu-control-positioning-in-safari-google-chrome/

提交回复
热议问题