Remove text decoration from links

允我心安 提交于 2019-12-01 22:55:55

问题


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

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

回答1:


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;
}


来源:https://stackoverflow.com/questions/2520872/remove-text-decoration-from-links

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!