如何删除 ASP.NET 中导航菜单的突出显示边框?

发布于 2024-12-22 22:32:47 字数 363 浏览 5 评论 0原文

我正在使用 ASP.NET 工具箱中的导航菜单,但我无法删除恼人的金色边框,我也找不到任何有关它的信息。仅当我单击导航项时才会出现金色边框,当我单击页面上的其他位置时,边框将被删除。 (导航菜单使用 JavaScript,因此我不会被重定向到另一个页面)。我还用 firebug 查看了它,当我单击 navigationItem 时,一个 css 类“突出显示”会添加到该项目中。谁能告诉我如何去掉金色边框?

http://imageshack.us/photo/my-images/857/highlight。 .png/

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?

http://imageshack.us/photo/my-images/857/highlight.png/

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

云归处 2024-12-29 22:32:47

尝试在 CSS 类中使用 !important 属性来避免边框。

Try to use !important property in CSS class for avoiding border.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文