【发布时间】:2016-01-20 10:42:37
【问题描述】:
我遇到了在 html 中为元素下划线的问题
请在此处找到代码:
<select>
<option>select</option>
<option style="text-decoration: underline;">one </option>
<option>two</option>
<option>three</option>
</select>
【问题讨论】:
-
您的代码在 firefox 和 IE 中运行,但在 chrome 中不运行,您是否也希望它在 crome 中运行?
-
我同意你@MudassarSaiyed
-
是的,我正在寻找适用于 chrome、IE 和 firefox 的解决方案。
-
那么你将不得不寻找一个 Javascript 解决方案。
-
这将适用于 firefox@user3584982