在dreameaver 中如何在一个页面中使用多种联接样式

来源:百度知道 编辑:UC知道 时间:2024/07/06 21:43:15
我在dreameaver中的一个页面中需要用多种超级联接样式,哪位高手给讲讲

a:link { color: #CC3399; text-decoration: none}
a:visited { color: #FF3399; text-decoration: none}
a:hover { color: #800080; text-decoration: underline}
a:active { color: #800080; text-decoration: underline}

a.red:link { color: #FF0000; text-decoration: none}
a.red:visited { color: #FF0000; text-decoration: none}
a.red:hover { color: #606060; text-decoration: underline}
a.red:active { color: #606060; text-decoration: underline}

a.ameth:link { color: #400040; text-decoration: none}
a.ameth:visited { color: #400040; text-decoration: none}
a.ameth:hover { color: #FF3399; text-decoration: underline}
a.ameth:active { color: #FF3399; text-decoration: underline}

第一个为所有连接样式

在你需要的其他地方用class=ameth/red引入

。。。。。。不明白