鼠标翻转连接颜色无效的一种情况

下面这种情况下鼠标翻转连接颜色无效。文字颜色不会以为a:hover的定义改变。具体什么原因造成的还不知道。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
<!--
a:link {color: #000000;text-decoration: none;}
a:visited {color: #000000;text-decoration: none;}
a:hover {text-decoration: underline;color: #FF0000;}
a:active {color: #000000;}
.my_color a {color:#0000FF;}
-->
</style></head><body >
<div class="my_color"><a href="http://etosun.cn/admin.php#">我的颜色</a></div>
</body>
</html>
分类
链接
存档

Powered by emlog turf