Heim  >  Artikel  >  Backend-Entwicklung  >  为何WordPress中链接的下划线去不掉?

为何WordPress中链接的下划线去不掉?

WBOY
WBOYOriginal
2016-06-06 20:07:232060Durchsuche

在我的主页的侧边栏上,我挂了一些自定义HTML。
但是每当碰到链接的时候,这个链接的下划线怎么也去不掉。现在我整个侧边栏的代码如下:

<code><!--小型样式表-->
<style>
.selfshot {
    border-radius: 50%;
    max-width: 200px;
    max-height: 200px;
    margin-bottom: 20px;
}
.smalltxt {
        font-size:12px;
}
a {
text-decoration: none !important;
}
</style>
<!--各个div的显示与隐藏-->
<script>
function wxstatuschg() {
document.getElementById("wxqrcode").style.display == "none" ? document.getElementById("wxqrcode").style.display = "block" : document.getElementById("wxqrcode").style.display = "none";
}

function emailstatuschg() {
document.getElementById("email").style.display == "none" ? document.getElementById("email").style.display = "block" : document.getElementById("email").style.display = "none";
}
</script>
<!--头像开始-->
<div align="center">
<img src="http://www.sparker.xyz/assets/images/qzh.jpg" alt="头像" class="selfshot" align="center">
<br><strong>秦泽浩</strong>
</div>
<div class="smalltxt" align="center">15级吉林大学唐敖庆理科实验班
<br>
(计算机科学方向)<br>
不瞎想,有耐心,喜欢冷静地分析
<br>
喜欢用coding的思维析构整个世界</div>
<div align="center">
<!--Email图标-->
<a href="javascript:;" onclick="emailstatuschg();">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 22 16" width="24" height="24">
<g><path style="fill-rule:evenodd;clip-rule:evenodd;" d="M22,0H0v2l11,9l11-9V0z M21,1.36L11,9.646L1,1.36V1h20V1.36z" fill="rgba( 190, 190, 190, 0.7)"></path><polygon style="fill-rule:evenodd;clip-rule:evenodd;" points="22,16 15.49,9 14.594,9.814 19.427,14.922 2.461,14.922 7.396,9.814 6.5,9 0,16 " fill="rgba( 190, 190, 190, 0.7)"></polygon><polygon style="fill-rule:evenodd;clip-rule:evenodd;" points="22,14.396 22,3.451 21,4.149 21,13.488     " fill="rgba( 190, 190, 190, 0.7)"></polygon><polygon style="fill-rule:evenodd;clip-rule:evenodd;" points="0,14.249 1,13.266 1,4.08 0,3.378     " fill="rgba( 190, 190, 190, 0.7)"></polygon>
</g></svg></a>
<!--Email图标结束-->
</div>
<!--email的隐藏div-->
<div id="email" style="display:none" align="center">
<email>cn.a.q@ieee.org</email>
<br>
<email>qzhsjz@gmail.com</email>
<br>
<email>qinzehao@sparker.xyz</email>
<br>
<email>qinzh0115@mails.jlu.edu.cn</email>
</div>
<!--联系方式的p-->
<p align="center">
<!--QQ的图标开始-->
<a target="blank" href="tencent://message/?uin=916327225&Site=%E6%97%B6%E4%B9%8B%E7%B9%81%E8%8A%B1&Menu=yes">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0, 0, 300, 300"><path d="M134.576 26.089c-35.5 7.9-60.3 37.1-63.2 74.1-.3 4.6-1 8.3-1.5 8.3-1.5 0-4.8 6.4-4.8 9.3 0 1.5-.7 3.9-1.6 5.2-1.2 1.9-1.5 4.2-1.2 9.7l.4 7.3-6.3 8.3c-15.4 20.2-21.4 41.7-16.8 59.7 2.1 7.9 3.4 9.2 7.5 7.5 3.2-1.3 11.5-9.9 13.3-13.8 1.1-2.4 2.7-3 2.7-1 0 2.4 6.1 14.2 10.6 20.6 2.5 3.5 4.4 6.5 4.2 6.6-.1.2-2.1 1.3-4.3 2.4-8.2 4.2-11.8 10.3-11.9 20.7-.1 3.6.5 5.9 1.9 7.9 1.1 1.6 2.5 3.7 3.1 4.7 3.5 6 9.9 9 23.3 11 10 1.4 16.9.8 36.6-3.1 19.9-3.9 28.2-3.9 48.9.2 29.3 5.8 47.1 3.9 56.5-6 7-7.6 9.1-13.8 6.7-19.7-.8-1.8-1.2-3.6-.9-3.8.2-.3-.3-1.9-1.1-3.6-1.9-3.5-6.7-7.4-11.9-9.6l-3.6-1.5 5.3-7.8c2.9-4.3 6.5-11 8.1-15l2.8-7.2 3.7 5.7c3.9 6 9.3 11.6 12.2 12.6 4.2 1.5 7.7-7.2 8.5-20.8.4-7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42.2-6-58-21.7-12-12-18.9-26.2-20.5-42.6-.7-7.7.8-20.7 3.1-26.2l1.4-3.3 4.2 2.6c2.4 1.4 4.8 2.9 5.5 3.3zm-8.6 66.8c.8.9 3 2.7 4.9 3.9 1.9 1.3 5.3 4 7.6 6.1 2.2 2.2 7.3 6.5 11.2 9.7 5.2 4.2 7.2 6.5 7.2 8.1 0 3-2 3.6-13.8 3.6-16.5 0-29.2-4.6-32.4-11.6-1.1-2.3-.9-3.3 1.4-7.5 2.4-4.6 2.5-4.9.7-5.4-2.5-.8-1.4-2.7 3.1-6 4.1-2.8 8.2-3.2 10.1-.9zm144.7-.2c5.6 2.9 7.8 7.6 3.5 7.6-1.4 0-1.4.3.2 2 1 1.1 2 4.1 2.3 6.8.4 4.5.2 5-3.2 8-5.6 4.9-13 6.7-27.4 6.5-9.2 0-12.8-.4-13.8-1.5-2.1-2 .3-4.9 7.4-8.9 8.9-5.1 12.4-7.8 13.6-10.1.6-1.2 2.5-2.5 4.2-3 2-.5 4.1-2.2 5.9-4.8 3.1-4.5 3.5-4.6 7.3-2.6zm-62.1-156.6c-2.4 2.6-3.9 7.3-3.2 10 .8 3.3 2.7 2.3 4-2.4 1.3-4.9 5.1-6.1 6-2l1 5.2c1 4.5 3 2.1 3-3.6-.1-4.3-.5-5.6-2.4-7.1-2.9-2.4-6.3-2.4-8.4-.1zm-34.1-.9c-3.9 4.3-3.6 12.6.6 15.6 3.1 2.1 4.5 1.9 7.3-1 1.9-1.8 2.5-3.5 2.5-7 0-7.5-6.3-12.1-10.4-7.6zm6.9 6.2c0 2.8-2.9 3.8-3.9 1.3-.7-1.9 1.1-4.7 2.8-4.1.6.2 1.1 1.4 1.1 2.8z" fill="rgba( 190, 190, 190, 0.7)"></path></svg></a>
<!--QQ的图标结束-->
 
<!--微信的图标开始-->
<a href="javascript:;" onclick="wxstatuschg();">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24" height="24" viewbox="0, 0, 400, 400"><g id="Layer 1"><path d="M120.601,46.576 C9.241,66.466 -27.879,192.281 60.7,249.869 C65.557,252.991 65.557,252.645 58.271,274.385 L52.027,293.002 L74.461,280.976 L96.895,268.95 L108.806,271.841 C121.294,274.963 137.253,277.16 147.891,277.16 L154.252,277.16 L152.054,268.718 C134.593,204.423 194.956,140.706 273.475,140.706 L284.114,140.706 L281.917,133.074 C264.686,72.826 191.95,33.856 120.601,46.576 z M110.887,102.892 C122.682,110.872 123.376,128.102 112.043,135.503 C93.657,147.529 72.148,126.367 84.521,108.327 C89.956,100.233 103.024,97.573 110.887,102.892 z M205.711,102.892 C225.138,115.96 210.568,146.141 188.827,137.815 C173.101,131.802 171.25,110.178 185.936,102.43 C191.718,99.308 200.738,99.539 205.711,102.892 z M248.613,150.536 C193.453,160.596 155.177,202.457 157.374,250.563 C160.265,314.974 235.777,359.379 308.282,339.489 L316.839,337.176 L334.879,346.89 C344.824,352.325 353.15,356.257 353.381,355.794 C353.613,355.216 351.647,348.278 349.103,340.299 C343.321,322.49 343.205,323.762 350.953,318.212 C438.144,255.651 361.592,130.068 248.613,150.536 z M246.416,202.457 C251.272,205.695 253.816,213.79 251.735,219.688 C247.341,232.292 228.492,233.217 223.403,221.075 C217.621,207.083 233.58,194.131 246.416,202.457 z M323.662,203.845 C331.294,211.13 330.022,223.504 321.118,228.129 C307.473,235.067 293.134,221.191 300.188,207.892 C304.813,199.335 316.724,197.254 323.662,203.845 z M220.43,328.772" fill="rgba( 190, 190, 190, 0.7)"></path></g><defs></defs></svg></a>
<!--微信的图标结束-->
 
<!--微博的图标开始-->
<a href="http://www.weibo.com/201272501">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0, 0, 300, 300"><path d="M196.802 39.964c-8.656 3.787-10.64 12.803-4.328 19.115 3.066 3.066 5.951 3.607 18.574 3.607 17.673 0 29.575 4.688 38.592 15.148 11 12.443 12.263 16.23 12.263 38.952 0 20.197 0 20.558 4.688 23.263 10.82 6.131 18.034-1.443 20.558-21.64 3.246-26.329-12.443-56.986-36.066-71.052-15.509-9.016-42.018-12.623-54.281-7.393zm-88.724 33.542c-20.198 7.213-39.674 21.099-60.592 43.46-49.592 52.658-46.346 102.791 8.295 129.48 56.805 27.771 133.267 18.574 174.924-21.099 31.198-29.575 27.411-66.724-8.115-79.347-6.312-2.164-8.296-3.787-7.394-5.771 3.246-7.934 4.328-17.131 2.525-22.541-5.591-17.132-25.968-21.099-56.264-10.82l-12.083 4.147 1.082-12.082c1.263-14.246-1.803-22.001-10.279-26.329-7.033-3.607-20.558-3.246-32.099.902zm50.133 69.789c26.869 7.394 43.28 23.624 43.28 42.919 0 21.46-19.116 40.756-50.133 51.035-16.591 5.41-47.428 6.492-62.576 2.344-28.673-8.115-44.903-23.984-44.903-44.362 0-11.181 4.869-20.919 15.509-30.837 9.918-9.377 17.492-13.886 32.099-18.755 22.001-7.393 45.625-8.295 66.724-2.344zm-56.806 17.492c-18.213 8.476-27.951 21.46-27.951 37.69 0 14.788 6.492 24.886 20.738 32.46 11 5.951 31.198 5.41 43.461-.901 15.689-8.296 25.968-23.624 25.968-38.592-.181-12.263-11.001-26.87-23.804-32.099-10.279-4.328-27.592-3.607-38.412 1.442zm13.165 33.903c1.262 1.262 2.164 4.328 2.164 7.033 0 9.017-15.148 16.411-21.28 10.279-3.426-3.426-2.524-11.902 1.443-15.869 3.967-3.968 14.246-4.869 17.673-1.443zm85.298-117.758c-8.296 8.296-2.705 18.214 10.459 18.214 11.361 0 16.41 5.771 16.41 18.755 0 8.115.722 10.459 3.968 12.623 9.738 6.853 17.673-.721 17.673-16.771 0-19.656-14.067-34.444-34.084-35.887-9.016-.721-11.18-.18-14.426 3.066z" fill="rgba( 190, 190, 190, 0.7)"></path></svg></a>
<!--微博的图标结束-->
 
<!--GitHub的图标开始-->
<a href="http://github.com/qzhsjz">
<svg width="24" height="24" viewbox="0 0 16 16"><path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"></path></svg></a>
<!--GitHub的图标结束-->
 
<!--领英的图标开始-->
<a href="http://cn.linkedin.com/in/angeloqin">
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewbox="0 0 18.137 18.135"><path d="M16.28,0H1.854C0.831,0,0,0.83,0,1.855v14.426c0,1.024,0.83,1.854,1.854,1.854H16.28c1.024,0,1.854-0.827,1.854-1.854V1.855
C18.136,0.83,17.306,0,16.28,0z M3.897,2.104c1.003,0,1.815,0.744,1.815,1.66c0,0.914-0.812,1.658-1.815,1.658
S2.082,4.678,2.082,3.764C2.08,2.848,2.895,2.104,3.897,2.104z M5.894,16.033H1.9V6.695h3.994V16.033z M16.036,15.987h-3.033v-4.979
c0-0.989-0.662-1.856-1.722-1.856c-1.061,0-1.448,0.808-1.448,1.565c0,1.021,0,5.271,0,5.271H6.799V6.74h3.034v1.369
c0.439-0.619,1.555-1.398,2.742-1.398c1.479,0,1.783,0.287,2.393,0.895c1.157,1.158,1.049,2.776,1.066,3.269h0.003L16.036,15.987z" fill="rgba( 190, 190, 190, 0.7)"></path></svg></a>
<!--领英的图标结束-->
<br>
<!--发短信按钮部分开始-->
<a href="/sendmesms/">
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 20" width="24px" height="24px"><g id="sms"><path d="M20,2H4C2.9,2,2,2.9,2,4l0,18l4-4h14c1.1,0,2-0.9,2-2V4C22,2.9,21.1,2,20,2z M9,11H7V9h2V11z M13,11h-2V9h2V11z M17,11h-2V9h2V11z" fill="rgba( 190, 190, 190, 0.7)"></path></g></svg>给我发送免费短信</a>
<!--发短信按钮部分结束-->
<!--微信二维码-->
</p>
<div id="wxqrcode" style="display:none" align="center">
<strong>微信号:qzhsjz</strong>
<img  src="/wp-content/uploads/2016/05/wechat.jpg" alt="为何WordPress中链接的下划线去不掉?" >
</div>

<p align="center">
<img  src="http://oa.shlcorp.net/img/logo.png" alt="为何WordPress中链接的下划线去不掉?" >
Sparker 成员
<br>
<a href="http://www.sparker.xyz/"><strong>访问Sparker团队主页</strong></a>
</p></code>

即使在CSS里加了!important,显示结果仍然是这样:
为何WordPress中链接的下划线去不掉?
我就整不明白了……

回复内容:

在我的主页的侧边栏上,我挂了一些自定义HTML。
但是每当碰到链接的时候,这个链接的下划线怎么也去不掉。现在我整个侧边栏的代码如下:

<code><!--小型样式表-->
<style>
.selfshot {
    border-radius: 50%;
    max-width: 200px;
    max-height: 200px;
    margin-bottom: 20px;
}
.smalltxt {
        font-size:12px;
}
a {
text-decoration: none !important;
}
</style>
<!--各个div的显示与隐藏-->
<script>
function wxstatuschg() {
document.getElementById("wxqrcode").style.display == "none" ? document.getElementById("wxqrcode").style.display = "block" : document.getElementById("wxqrcode").style.display = "none";
}

function emailstatuschg() {
document.getElementById("email").style.display == "none" ? document.getElementById("email").style.display = "block" : document.getElementById("email").style.display = "none";
}
</script>
<!--头像开始-->
<div align="center">
<img src="http://www.sparker.xyz/assets/images/qzh.jpg" alt="头像" class="selfshot" align="center">
<br><strong>秦泽浩</strong>
</div>
<div class="smalltxt" align="center">15级吉林大学唐敖庆理科实验班
<br>
(计算机科学方向)<br>
不瞎想,有耐心,喜欢冷静地分析
<br>
喜欢用coding的思维析构整个世界</div>
<div align="center">
<!--Email图标-->
<a href="javascript:;" onclick="emailstatuschg();">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 22 16" width="24" height="24">
<g><path style="fill-rule:evenodd;clip-rule:evenodd;" d="M22,0H0v2l11,9l11-9V0z M21,1.36L11,9.646L1,1.36V1h20V1.36z" fill="rgba( 190, 190, 190, 0.7)"></path><polygon style="fill-rule:evenodd;clip-rule:evenodd;" points="22,16 15.49,9 14.594,9.814 19.427,14.922 2.461,14.922 7.396,9.814 6.5,9 0,16 " fill="rgba( 190, 190, 190, 0.7)"></polygon><polygon style="fill-rule:evenodd;clip-rule:evenodd;" points="22,14.396 22,3.451 21,4.149 21,13.488     " fill="rgba( 190, 190, 190, 0.7)"></polygon><polygon style="fill-rule:evenodd;clip-rule:evenodd;" points="0,14.249 1,13.266 1,4.08 0,3.378     " fill="rgba( 190, 190, 190, 0.7)"></polygon>
</g></svg></a>
<!--Email图标结束-->
</div>
<!--email的隐藏div-->
<div id="email" style="display:none" align="center">
<email>cn.a.q@ieee.org</email>
<br>
<email>qzhsjz@gmail.com</email>
<br>
<email>qinzehao@sparker.xyz</email>
<br>
<email>qinzh0115@mails.jlu.edu.cn</email>
</div>
<!--联系方式的p-->
<p align="center">
<!--QQ的图标开始-->
<a target="blank" href="tencent://message/?uin=916327225&Site=%E6%97%B6%E4%B9%8B%E7%B9%81%E8%8A%B1&Menu=yes">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0, 0, 300, 300"><path d="M134.576 26.089c-35.5 7.9-60.3 37.1-63.2 74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7-27.4 6.5-9.2 0-12.8-.4-13.8-1.5-2.1-2 .3-4.9 7.4-8.9 8.9-5.1 12.4-7.8 13.6-10.1.6-1.2 2.5-2.5 4.2-3 2-.5 4.1-2.2 5.9-4.8 3.1-4.5 3.5-4.6 7.3-2.6zm-62.1-156.6c-2.4 2.6-3.9 7.3-3.2 10 .8 3.3 2.7 2.3 4-2.4 1.3-4.9 5.1-6.1 6-2l1 5.2c1 4.5 3 2.1 3-3.6-.1-4.3-.5-5.6-2.4-7.1-2.9-2.4-6.3-2.4-8.4-.1zm-34.1-.9c-3.9 4.3-3.6 12.6.6 15.6 3.1 2.1 4.5 1.9 7.3-1 1.9-1.8 2.5-3.5 2.5-7 0-7.5-6.3-12.1-10.4-7.6zm6.9 6.2c0 2.8-2.9 3.8-3.9 1.3-.7-1.9 1.1-4.7 2.8-4.1.6.2 1.1 1.4 1.1 2.8z" fill="rgba( 190, 190, 190, 0.7)"></path></svg></a>
<!--QQ的图标结束-->
 
<!--微信的图标开始-->
<a href="javascript:;" onclick="wxstatuschg();">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24" height="24" viewbox="0, 0, 400, 400"><g id="Layer 1"><path d="M120.601,46.576 C9.241,66.466 -27.879,192.281 60.7,249.869 C65.557,252.991 65.557,252.645 58.271,274.385 L52.027,293.002 L74.461,280.976 L96.895,268.95 L108.806,271.841 C121.294,274.963 137.253,277.16 147.891,277.16 L154.252,277.16 L152.054,268.718 C134.593,204.423 194.956,140.706 273.475,140.706 L284.114,140.706 L281.917,133.074 C264.686,72.826 191.95,33.856 120.601,46.576 z M110.887,102.892 C122.682,110.872 123.376,128.102 112.043,135.503 C93.657,147.529 72.148,126.367 84.521,108.327 C89.956,100.233 103.024,97.573 110.887,102.892 z M205.711,102.892 C225.138,115.96 210.568,146.141 188.827,137.815 C173.101,131.802 171.25,110.178 185.936,102.43 C191.718,99.308 200.738,99.539 205.711,102.892 z M248.613,150.536 C193.453,160.596 155.177,202.457 157.374,250.563 C160.265,314.974 235.777,359.379 308.282,339.489 L316.839,337.176 L334.879,346.89 C344.824,352.325 353.15,356.257 353.381,355.794 C353.613,355.216 351.647,348.278 349.103,340.299 C343.321,322.49 343.205,323.762 350.953,318.212 C438.144,255.651 361.592,130.068 248.613,150.536 z M246.416,202.457 C251.272,205.695 253.816,213.79 251.735,219.688 C247.341,232.292 228.492,233.217 223.403,221.075 C217.621,207.083 233.58,194.131 246.416,202.457 z M323.662,203.845 C331.294,211.13 330.022,223.504 321.118,228.129 C307.473,235.067 293.134,221.191 300.188,207.892 C304.813,199.335 316.724,197.254 323.662,203.845 z M220.43,328.772" fill="rgba( 190, 190, 190, 0.7)"></path></g><defs></defs></svg></a>
<!--微信的图标结束-->
 
<!--微博的图标开始-->
<a href="http://www.weibo.com/201272501">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0, 0, 300, 300"><path d="M196.802 39.964c-8.656 3.787-10.64 12.803-4.328 19.115 3.066 3.066 5.951 3.607 18.574 3.607 17.673 0 29.575 4.688 38.592 15.148 11 12.443 12.263 16.23 12.263 38.952 0 20.197 0 20.558 4.688 23.263 10.82 6.131 18.034-1.443 20.558-21.64 3.246-26.329-12.443-56.986-36.066-71.052-15.509-9.016-42.018-12.623-54.281-7.393zm-88.724 33.542c-20.198 7.213-39.674 21.099-60.592 43.46-49.592 52.658-46.346 102.791 8.295 129.48 56.805 27.771 133.267 18.574 174.924-21.099 31.198-29.575 27.411-66.724-8.115-79.347-6.312-2.164-8.296-3.787-7.394-5.771 3.246-7.934 4.328-17.131 2.525-22.541-5.591-17.132-25.968-21.099-56.264-10.82l-12.083 4.147 1.082-12.082c1.263-14.246-1.803-22.001-10.279-26.329-7.033-3.607-20.558-3.246-32.099.902zm50.133 69.789c26.869 7.394 43.28 23.624 43.28 42.919 0 21.46-19.116 40.756-50.133 51.035-16.591 5.41-47.428 6.492-62.576 2.344-28.673-8.115-44.903-23.984-44.903-44.362 0-11.181 4.869-20.919 15.509-30.837 9.918-9.377 17.492-13.886 32.099-18.755 22.001-7.393 45.625-8.295 66.724-2.344zm-56.806 17.492c-18.213 8.476-27.951 21.46-27.951 37.69 0 14.788 6.492 24.886 20.738 32.46 11 5.951 31.198 5.41 43.461-.901 15.689-8.296 25.968-23.624 25.968-38.592-.181-12.263-11.001-26.87-23.804-32.099-10.279-4.328-27.592-3.607-38.412 1.442zm13.165 33.903c1.262 1.262 2.164 4.328 2.164 7.033 0 9.017-15.148 16.411-21.28 10.279-3.426-3.426-2.524-11.902 1.443-15.869 3.967-3.968 14.246-4.869 17.673-1.443zm85.298-117.758c-8.296 8.296-2.705 18.214 10.459 18.214 11.361 0 16.41 5.771 16.41 18.755 0 8.115.722 10.459 3.968 12.623 9.738 6.853 17.673-.721 17.673-16.771 0-19.656-14.067-34.444-34.084-35.887-9.016-.721-11.18-.18-14.426 3.066z" fill="rgba( 190, 190, 190, 0.7)"></path></svg></a>
<!--微博的图标结束-->
 
<!--GitHub的图标开始-->
<a href="http://github.com/qzhsjz">
<svg width="24" height="24" viewbox="0 0 16 16"><path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"></path></svg></a>
<!--GitHub的图标结束-->
 
<!--领英的图标开始-->
<a href="http://cn.linkedin.com/in/angeloqin">
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewbox="0 0 18.137 18.135"><path d="M16.28,0H1.854C0.831,0,0,0.83,0,1.855v14.426c0,1.024,0.83,1.854,1.854,1.854H16.28c1.024,0,1.854-0.827,1.854-1.854V1.855
C18.136,0.83,17.306,0,16.28,0z M3.897,2.104c1.003,0,1.815,0.744,1.815,1.66c0,0.914-0.812,1.658-1.815,1.658
S2.082,4.678,2.082,3.764C2.08,2.848,2.895,2.104,3.897,2.104z M5.894,16.033H1.9V6.695h3.994V16.033z M16.036,15.987h-3.033v-4.979
c0-0.989-0.662-1.856-1.722-1.856c-1.061,0-1.448,0.808-1.448,1.565c0,1.021,0,5.271,0,5.271H6.799V6.74h3.034v1.369
c0.439-0.619,1.555-1.398,2.742-1.398c1.479,0,1.783,0.287,2.393,0.895c1.157,1.158,1.049,2.776,1.066,3.269h0.003L16.036,15.987z" fill="rgba( 190, 190, 190, 0.7)"></path></svg></a>
<!--领英的图标结束-->
<br>
<!--发短信按钮部分开始-->
<a href="/sendmesms/">
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 20" width="24px" height="24px"><g id="sms"><path d="M20,2H4C2.9,2,2,2.9,2,4l0,18l4-4h14c1.1,0,2-0.9,2-2V4C22,2.9,21.1,2,20,2z M9,11H7V9h2V11z M13,11h-2V9h2V11z M17,11h-2V9h2V11z" fill="rgba( 190, 190, 190, 0.7)"></path></g></svg>给我发送免费短信</a>
<!--发短信按钮部分结束-->
<!--微信二维码-->
</p>
<div id="wxqrcode" style="display:none" align="center">
<strong>微信号:qzhsjz</strong>
<img  src="/wp-content/uploads/2016/05/wechat.jpg" alt="为何WordPress中链接的下划线去不掉?" >
</div>

<p align="center">
<img  src="http://oa.shlcorp.net/img/logo.png" alt="为何WordPress中链接的下划线去不掉?" >
Sparker 成员
<br>
<a href="http://www.sparker.xyz/"><strong>访问Sparker团队主页</strong></a>
</p></code>

即使在CSS里加了!important,显示结果仍然是这样:
为何WordPress中链接的下划线去不掉?
我就整不明白了……

审查元素看,其实是 border-bottom

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn