网页超级链接字体设置问题

来源:百度知道 编辑:UC知道 时间:2024/07/02 17:41:33
我想把已改颜色的字体设置超级链接,但是加了链接后,颜色变成了蓝色,我的A:LINK里设置的是无,但颜色还是蓝色,求救

你定义得不全,链接要四个状态呢:
a:link {
color: #000000;
text-decoration: none;
}
a:visited {
color: #000000;
text-decoration: none;
}
a:hover {
color: #ff0000;
text-decoration: underline;
}
a:active {
color: #000000;
text-decoration: none;
}

你要强制设定一个颜色

<!--STATUS OK-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>网页超级链接字体设置问题_百度知道 </title>

<link rel="alternate" type="application/rss+xml" title="“网页超级链接字体设置问题”的最新回答(RSS 2.0)" href="http://zhidao.baidu.com/q?ct=20&qid=114462341&pn