【发布时间】:2012-11-27 20:44:24
【问题描述】:
我可以在 Firefox 和 chrome 中获得此功能。但在下面的代码中,文本显示在 IE 中。该文本不应显示。
<a target="_blank" href="#">edit</a>
<style>
a {
background: url("../images/edit1.gif") no-repeat scroll 0 0 transparent;
color: transparent !important;
}
</style>
【问题讨论】:
-
为什么不让链接的颜色与其底层容器的颜色相同?如果它在白色 div 内,只需将链接设为白色即可。