一、页面中链接色用的最多的设为默认链接样式;
大家观察这个页面上也就是黑色的链接色用的最多了,
我个人是把 网页中用到的最多的链接色做为 网站的默认链接色来设置,
大家观察这个页面上也就是黑色的链接色用的最多了,
我个人是把 网页中用到的最多的链接色做为 网站的默认链接色来设置,
# a:link {
# color:#333; text-decoration: none;
# }
# a:visited {
# color:#333; text-decoration: none;
# }
# a:hover {
# color:#FF0000; text-decoration: underline;
二、页面中用的相对少的链接色而且也相对比较集中的,我个人认为用派生链接样式比较实用
比如页面中的这里,我们可以用外围的父标签来派生链接样式
#
# .newsitem ul a:link {
# COLOR: #0000ff; TEXT-DECORATION: underline
# }
# .newsitem ul a:visited {
# COLOR: #0000ff; TEXT-DECORATION: underline
# }
# .newsitem ul a:hover {
# COLOR: #0000ff; TEXT-DECORATION: none
# }
三、页面中用的相对少的链接色而且也相对比较零散的,我个人认为a标记加class类比较实用
比如页面中这了解详细红色的链接
1. a.redlink:link {
2. COLOR: #ff0000; TEXT-DECORATION: underline
3. }
4. a.redlink:visited {
5. COLOR: #ff0000; TEXT-DECORATION: underline
6. }
7. a.redlink:hover {
8. COLOR: #ff0000; TEXT-DECORATION: none
9. }