の中にspan
タグがありtd
ます。にはtd
を に設定する CSS を持つクラスがあり、にはtext-decoration
をunderline
にspan
設定text-decoration
しnone
ます。内のテキストにはspan
下線が引かれていないと思いますが、何らかの理由で下線が引かれています。なんで?
.u {
text-decoration: underline;
}
.no-u {
text-decoration: none !important;
}
<table>
<tr>
<td class="u">
<span class="no-u" style="text-decoration: none !important;">My Text</span>
</td>
</tr>
</table>