【发布时间】:2009-03-18 01:02:52
【问题描述】:
我在我的网站上使用 XHTML 1.0 Strict 并且在我的链接上有以下 CSS 样式:
a:hover {
border-bottom: 1px dotted #447799;
}
还有我的图片:
a img, img {
border: none;
text-decoration: none;
}
然而,当我将鼠标悬停在标题横幅上时,底部边框仍然显示为虚线和蓝色。显然,我不能使用border="0",因为它不是XHTML 1.0 Strict Doctype 的一部分。
您可以在这里查看我的网站:armorycraft.com
建议?
【问题讨论】:
标签: css xhtml-1.0-strict