【发布时间】:2010-10-15 21:11:38
【问题描述】:
我遇到了仅在 Safari 和 Chrome 中出现的 CSS 问题。我正在处理的网站内容中的链接有一组样式。访问过的链接应该显示不同的颜色并带有虚线底部边框。尽管应用了所有其他样式,但在 Safari 和 Chrome 中,访问的链接缺少底部边框。有谁知道导致此问题的 webkit 引擎中的错误,或者我犯了一些愚蠢的错误?代码如下:
#content a:link {
color: #b32951;
text-decoration: none;
}
#content a:visited {
color: #353535;
border-bottom: 1px dotted;
text-decoration: none;
}
#content a:hover, #content a:active {
color: #b32951;
background: #E6B5AF;
}
【问题讨论】:
标签: css google-chrome safari webkit