I have the following HTML
<div style="text-decoration: underline;">
outer text
<div style="text-decoration: none;">inner text</div>
</div>
即使我在“inner text”中使用了“none”,它仍然带有下划线。这是JS fiddle示例:http://jsfiddle.net/oj2wj1d6/1/ 如何从“inner text”中删除下划线?我必须保持相同的HTML结构,而不添加任何新的HTML标签。
!important
也不起作用。:( - BenjaminGolder