http://mail.mcjh.kl.edu.tw/~lin/teach/htm/linkline.htm
原始CSS 其意义如下
A:link {color: blue} 一般连结:{颜色:蓝色}
A:visited {color: gray} 参观过的连结:{颜色:灰色}
A:active {color: green} 正在执行的连结:{颜色:绿色}
A:hover {color: red} 当滑鼠移到连结上:{颜色:红色}
A{text-decoration: none} 超连结不加底线
↑
这个方法是全页,我只想要【单一】达到
A:visited {color: gray} 参观过的连结:{颜色:灰色}
请要怎么改呢 ?
Forgot your password?
回复讨论(解决方案)
因为我整个专案,只有这个连结要这样做...
所以不想在
1. 共用的Css档内宣告一个css(因为为了这边,所有功能页都载入感觉不好)
2.也不想再该页面的最上面 宣告
.mya:link{color: blue}
自己定义个类
查看更多关于超??。 如何?一指定(??前、??後的?色呢)_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did106449