我将大部分 html 文本链接定义为:
a:hover {text-decoration:none; border-bottom:2px dotted #DB8D41}
但我在http://communitychessclub.com/rabren/也有图片,它们是链接。我不希望在这些图像下显示“border-bottom:2px dotted #DB8D41”。
很明显,下面这行不通:
a:hover img {border:none}
img, img:active { border: none }
有人有解决方案吗?