删除链接中的文字修饰

发布于 2024-08-26 19:39:30 字数 190 浏览 2 评论 0原文

为什么这不会删除此页面上的 Facebook 和刺客行业链接的下划线。

.module_wpproad {
text-decoration:none;
border:none;
}

Why won't this remove the underline from the facebook and assassin industries links on this page.

.module_wpproad {
text-decoration:none;
border:none;
}

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

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

发布评论

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

评论(1

水染的天色ゝ 2024-09-02 19:39:30

链接的默认 text-decoration 属性优先于容器的 text-decoration 属性。您需要在覆盖中具体说明:

.module_wpproad a {
    text-decoration: none;
}

The default text-decoration attribute of links takes precedence over the text-decoration attribute of the container. You will need to be specific in your override:

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