Home >Web Front-end >HTML Tutorial >Please help. Why is the definition of hyperlink a:link invalid?_html/css_WEB-ITnose

Please help. Why is the definition of hyperlink a:link invalid?_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:17:192002browse

定义超链接a:link无效
源代码:




无标题文档






百度



执行之后IE上显示没有点击时的链接颜色是黑色的,字体还有下划线都无效,显示的效果a:visited设置的一样


回复讨论(解决方案)

测试没什么问题 你把颜色换成红绿蓝之类的比较容易区分的就容易看出些
但你点过之后显示的就是a:visited的颜色了
要想在点过之后刷新还显示a:link的颜色就清楚一些缓存

嗯 清除一下缓存就好了  非常感谢

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn