鼠标移动到字体下显示有下划线

1.js

style="text-decoration:none;COLOR: #000000;" onclick="openMailWindow()" onmouseover="this.style.textDecoration=\'underline\'" onmouseout="this.style.textDecoration=\'none\'"


2.css
a:hover { text-decoration: underline; color: green }

猜你喜欢

转载自zhihchen.iteye.com/blog/1829850