在dreamweaver中如何设置不同链结样式????

来源:百度知道 编辑:UC知道 时间:2024/05/27 04:10:36
用a:link a:visited a:hover 后,,,整个网页的链结都会变成这一个样式。。那么怎么样才能更改单个的链结样式呢?

请用代码举例详细说明。

比如给 “早晨好”添加一个链结样式。。再给“你好”添加另一个链结样式。

代码要具体,从 <html> 到 </html>

谢谢了。

(注:本人是菜鸟,请不要用空洞的专业语言,浪费我时间,也浪费你时间。)
请举个例子。
我按照你说的做了,但是提示错误。
请举个例子!!要从<html>到</html> 我复制到dreamweaver就可以看到的。。。
下面回答的如果不举详细例子就请不要回答了。

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style>
a.blue:link { color: #3399FF; text-decoration: none; }
a.blue:visited { color: #3399FF; text-decoration: none; }
a.blue:hover { color: #FF0000; text-decoration: none; }

a.blue1:link { color: #FF0000; text-decoration: none; }
a.blue1:visited { color: #000000; text-decoration: none; }
a.blue1:hover { color: #cccccc; text-decoration: none; }
</style>
</head>

<body>
<div class="zzzzzz">
<a class="blue" href="#">123</a> <a class="blue1" href="#">234</a>
</div>
</body>
</html>