对于已访问过的连接总是以 a:visited 的颜色显示

解决方案 »

  1.   

    可去掉 a:visited 的设置
      

  2.   

    去掉a:visited 的设置不行,没有访问的都有下划线了
      

  3.   

    <head>
    <style>
    a:link{
    color:#000000;text-decoration:none;
    }
    a:visited{
    color:#000000;text-decoration:none;
    }
    a:active{
    color:#666666;text-decoration:none;
    }
    a:hover{
    color:#ff0000;text-decoration:underline;
    }
    </style>
    </head><a href=test.htm>Test.htm</a>
      

  4.   

    <head>
    <style>
    a:visited{
    color:#000000;text-decoration:none;
    }a:hover{
    color:#ff0000;text-decoration:underline;
    }a:link{
    color:#000000;text-decoration:none;
    }
    </style>
    </head><a href=test.htm>Test.htm</a>