#12001/7/12 21:47:09
小弟用class=1、2、3的方法定义了三种超链接样式,代码如下:
a.1:link { text-decoration: none} a.1:visited { color: #4242FF; text-decoration: none} a.1:link { color: #4242FF} a.1:hover { color: #FC855C; text-decoration: none} .9point { font-size: 9pt; line-height: 16px}
a.2:link { text-decoration: none} a.2:visited { color: #000000; text-decoration: none} a.2:link { color: #000000} a.2:hover { color: #FC855C; text-decoration: none}
a.3:link { text-decoration: none} a.3:visited { color: #4242FF} a.3:link { color: #4242FF} a.3:hover { color: #FC855C}
其中a.2是没有下划线的,在ie中预览也确实没有下划线。但是如果把整个网站目录在硬盘中移个位置或者copy到别处,a.2中的a.2:link { text-decoration: none}好像一点作用都没有,超链接仍然有下划线,只是鼠标移上去后消失。这是什么原因,小弟百思不得其解!盼高手指教。