如何删除 ASP.NET 中导航菜单的突出显示边框?
我正在使用 ASP.NET 工具箱中的导航菜单,但我无法删除恼人的金色边框,我也找不到任何有关它的信息。仅当我单击导航项时才会出现金色边框,当我单击页面上的其他位置时,边框将被删除。 (导航菜单使用 JavaScript,因此我不会被重定向到另一个页面)。我还用 firebug 查看了它,当我单击 navigationItem 时,一个 css 类“突出显示”会添加到该项目中。谁能告诉我如何去掉金色边框?
I'm using the navigationmenu in the toolbox of ASP.NET, and I'm not able to remove an annoying golden border, I also can't find anything about it. The golden border only appears when I click on a navigation Item, and when I click on somewhere else on the page the border will get removed. ( the navigationmenu works with javascript so I won't be redirected to another page ). I also looked at it with firebug and when I click on a navigationItem a css class "highlighted" is added to the item. Can someone tell me how to get rid of the golden border?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试在 CSS 类中使用
!important
属性来避免边框。Try to use
!important
property in CSS class for avoiding border.