[CSS基础]在一个网页中使用多种不同链接风格的CSS.

(http://community.csdn.net/Expert/topic/3256/3256680.xml?temp=.1132166)

定义自己的伪类:

.toplink a {
color: #FFFFFF;
text-decoration: underline;}
.topLink a:hover {
color: #FFFFFF;
text-decoration: underline;}
.topLink a:visited {
color: #FFFFFF;
text-decoration: underline;}
.topLink a:active {
color: #FFFFFF;
text-decoration: underline;font-weight: bold;
}


用<td class="topLink">引用

你可能感兴趣的:(.net,xml,css)