问题
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