本文主要是介绍a pseudo class,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
被点击访问过的超链接样式不在具有hover和active了,解决方法是改变CSS属性的排列顺序: L-V-H-A<!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>
<title> new document </title>
<meta name="generator" content="editplus" />
<meta name="author" content="" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<style type="text/css">
<!--
[color=red][b]a:link[/b][/color] {
color:red;
font-size:9px;
}
[color=red][b]a:visited[/b][/color] {
color:green;
font-weight:bold;
}
[color=red][b]a:hover[/b][/color] {
color:blue
}
[color=red][b]a:active[/b][/color] {
color:orange
}
-->
</style>
</head>
<body>
[color=blue]<a href="#" class="f30" target="_blank" title="" alt="">aaaaaaaaa</a>
<!-- above is abnormal -->[/color]
<a href="a.html" class="f30" target="_blank" title="" alt="">aaaaaaaaa</a>
<a href="javascript:void(0);" class="f30" target="_blank" title="" alt="">aaaaaaaaa</a>
<a href="javascript:void(0);" class="f30" target="_blank" title="" alt="">aaaaaaaaa</a>
<a href="javascript:void(0);" class="f30" target="_blank" title="" alt="">aaaaaaaaa</a>
</body>
</html>
这篇关于a pseudo class的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!