|
主题: 关于超链接!
|
 风铃
职务:普通成员
等级:1
金币:0.0
发贴:151
注册:2001/5/14 16:12:07
|
#12001/6/28 15:03:01
如何使用不同颜色的超链接!
好象CSS只能对字体、背景、块、框、列表等进行不同定义!而LINK只有一种!
|
 sup
职务:普通成员
等级:1
金币:1.0
发贴:184
注册:2001/5/11 20:21:06
|
#22001/6/28 17:40:27
你的意思我不太明白,如果是同时显示多种颜色的连接我无能为力。 但如果是改成其他颜色的到很简单。 DW3的属性面板里,点中连接文字,可以设置颜色。 也可以用JAVA实现,超连接自动变色。 不知我的回答你是否满意?
|
 小笨蛋
职务:普通成员
等级:2
金币:1.0
发贴:506
注册:2001/4/7 17:33:00
|
#32001/6/28 18:30:26
做几个CSS
劲速提升LV中…………
|
 风铃
职务:普通成员
等级:1
金币:0.0
发贴:151
注册:2001/5/14 16:12:07
|
#42001/6/29 9:51:33
谢谢帮助!
可是还没解决我的问题。我想在一个页面中不同的区域实行不同的超链接!比如有深色背景的地方用白色!而淡色的背景用深色文字的超链接。
我只知在菜单modify>>page properlies中只可以实行一种形式的超链接!一定是用CSS,但我找不到弄的方法!
小菜鸟着急!
|
 Kingsoft.com
职务:普通成员
等级:1
金币:0.0
发贴:104
注册:2001/6/29 10:18:25
|
#52001/6/29 12:15:53
CSS
a:link {
font-size: 9pt;
color: #669966;
text-decoration: none
}
a:visited {
font-size: 9pt;
color: #669966;
text-decoration: none
}
a:hover {
font-size: 9pt;
color: #FF9900;
text-decoration: none
}
a:active {
font-size: 9pt;
color: #FF9900;
text-decoration: none
}
a.news:link {
font-size: 9pt;
color: #FF9933;
text-decoration: none
}
a.news:visited {
font-size: 9pt;
color: #FF9933;
text-decoration: none
}
a.news:hover {
font-size: 9pt;
color: #ffffff;
text-decoration: none
}
a.news:active {
font-size: 9pt;
color: ##696969;
text-decoration: none
}
HTML
class="news"
|
 阿三
职务:普通成员
等级:2
金币:1.0
发贴:569
注册:2000/12/4 2:19:22
|
#62001/6/29 12:18:36
去sina,把首页保存下来,DW打开,看看就明白了
|
 isleky
职务:普通成员
等级:2
金币:10.0
发贴:785
注册:2000/10/14 13:53:56
|
|
 5D荣誉斑竹
职务:普通成员
等级:5
金币:10.0
发贴:3292
注册:2001/5/24 10:01:29
|
#82001/6/30 0:51:59
1。先定义一个css .news 2。然后定义a:link,直接在中间添.news 成为a.news:link ;a:hover 同理为 a.news:hover 3。在超连接的地方使用.news
|