网页中连接字体颜色问题!(见补充)

来源:百度知道 编辑:UC知道 时间:2024/05/24 00:57:26
网页中大部分是连接字体,内容是页面属性设置的蓝色!
网站的导航字体的颜色怎么设置 能否帮写个CSS,控制导航字体的颜色及鼠标放导航字上后变的颜色!?

谢谢谢谢!!!!!!!!!!!!!!!!!

<html><head><style type="text/css">
a.a1:link{ color: green;
font-size: 12px;
text-decoration: none;}

a.a1:visited{color: green;
font-size: 12px;
text-decoration: none;}

a.a1:hover{color: red;
font-size: 12px;
text-decoration: none;}

</style></head>
<body>

<a href="#" class="a1">文字</a></body></html> 这是自定义的,

下面是全局的:
<html><head><style type="text/css">
a:link{ color: green;
font-size: 12px;
text-decoration: none;}

a:visited{color: green;
font-size: 12px;
text-decoration: none;}

a:hover{color: red;
font-size: 12px;
text-decoration: none;}

</style></head>
<body>

<a href="#" >文字</a></body></html>