<head>
<style>
a.a:hover{color:red}
</style>
</head><a href="#" class=a>hello</a>
<a href=# onmouseover="style.color='red'" onmouseout="style.color=''">hello</a>

解决方案 »

  1.   

    <a href=# onmouseover="style.color='red'" onmouseout="style.color=''">hello</a>
    这是一个
    还有可以定义样式也可以得到相同的效果。
      

  2.   

    这个效果更好<style>
    a:hover {position:relative;top:1px;left:1px;text-decoration:underline overline;}
    a       {text-decoration:none;}
    </style>
    <a href=# onmouseover="style.color='red'" onmouseout="style.color=''">hello</a>