主题:  怎样在网页里显示两种颜色的字!

yetan0523

职务:普通成员
等级:1
金币:0.0
发贴:20
注册:2002/9/6 9:56:54
#12002/9/10 10:12:32
用了这段代码,在定义css就不好用了,怎样才能在网页里显示两种颜色的字哪?



NudeAngel

职务:普通成员
等级:3
金币:10.0
发贴:793
注册:2002/1/29 14:14:58
#22002/9/10 10:39:19
多种文字链接样式如下:
body { font-size: 12px; color: #494949; line-height:16px}

table { font-size: 12px; color: #494949; line-height:16px}



.content{line-height:20px}

.huanying{ font-size: 13px; color: #FF6600}



.daohangyiwei{ font-size: 12px; padding-top: 6px; padding-bottom: 0px;}

.daohang { font-size: 12px; color: #000000;text-decoration: none}

A.daohang:link{ font-size: 12px; color: #666666;text-decoration: none}

A.daohang:visited{ font-size: 12px; color: #000000;text-decoration: none}

A.daohang:hover{ font-size: 12px; color: #000000;text-decoration: underline}



.title { font-size: 12px; color: #D05528;text-decoration: none}

A.title:link{ font-size: 12px; color: #666666; text-decoration: none}

A.title:visited{ font-size: 12px; color: #D05528;text-decoration: underline}

A.title:hover{ font-size: 12px; color: #000000;text-decoration: underline}



.title2 { font-size: 12px; color: #95683F;text-decoration: none}

A.title2:link{ font-size: 12px; color: #666666; text-decoration: none}

A.title2:visited{ font-size: 12px; color: #95683F;text-decoration: underline}

A.title2:hover{ font-size: 12px; color: #000000;text-decoration: underline}



.black { font-size: 12px; color: #000000; padding-left: 16px; line-height: 17px}

A.black:link { font-size: 12px; color: #666666; text-decoration: none}

A.black:visited { font-size: 12px; color: #000000; text-decoration: none}

A.black:hover { font-size: 12px; color: #000000; text-decoration: underline}





.hui { font-size: 12px; color: #494949; line-height: 20px}

A.hui:link { font-size: 12px; color: #666666; text-decoration: none}

A.hui:visited { font-size: 12px; color: #494949; text-decoration: none}

A.hui:hover { font-size: 12px; color: #000000; text-decoration: underline}



.dingwei { position: relative; clip: rect( )}



.biaoti { font-weight: bold}

.ttel { text-decoration: none; font-size: 10pt}
a:link { color: #666666; text-decoration: none}