CSS-双下划线超链接样式

[html]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>好双下划线连接样式</title>

<STYLE type=text/css>

A.coolcss:link {
CURSOR: hand; COLOR: #ff6633; BORDER-BOTTOM: 1px dotted #ff6633; FONT-FAMILY: Arial; TEXT-DECORATION: underline
}
A.coolcss:visited {
CURSOR: hand; COLOR: #ff6633; BORDER-BOTTOM: 1px dotted #ff6633; FONT-FAMILY: Arial; TEXT-DECORATION: underline
}
A.coolcss:hover {
CURSOR: hand; COLOR: #ff6633; BORDER-BOTTOM: 2px solid #ff6633; FONT-FAMILY: Arial; TEXT-DECORATION: underline
}

A.coolcss2:link {
CURSOR: hand; COLOR: #ff6633; BORDER-BOTTOM: thin dotted #ff6633; FONT-FAMILY: Arial; TEXT-DECORATION: underline
}
A.coolcss2:visited {
CURSOR: hand; COLOR: #ff6633; BORDER-BOTTOM: thin dotted #ff6633; FONT-FAMILY: Arial; TEXT-DECORATION: underline
}
A.coolcss2:hover {
CURSOR: hand; COLOR: #ff6633; BORDER-BOTTOM: 2px solid #ff6633; FONT-FAMILY: Arial; TEXT-DECORATION: underline
}

A.coolcss3:link {
CURSOR: hand; COLOR: #ff6633; BORDER-BOTTOM: medium dotted #ff6633; FONT-FAMILY: Arial; TEXT-DECORATION: underline
}
A.coolcss3:visited {
CURSOR: hand; COLOR: #ff6633; BORDER-BOTTOM: medium dotted #ff6633; FONT-FAMILY: Arial; TEXT-DECORATION: underline
}
A.coolcss3:hover {
CURSOR: hand; COLOR: #ff6633; BORDER-BOTTOM: 2px solid #ff6633; FONT-FAMILY: Arial; TEXT-DECORATION: underline
}


A:link {
FONT-SIZE: 12pt; COLOR: #cccccc; LINE-HEIGHT: 20pt; FONT-FAMILY: "Arial", "Helvetica", "sans-serif"; TEXT-DECORATION: none
}
A:hover {
FONT-SIZE: 12pt; COLOR: #b8f400; LINE-HEIGHT: 20pt; FONT-FAMILY: "Arial", "Helvetica", "sans-serif"; TEXT-DECORATION: none
}
A:active {
FONT-SIZE: 12pt; COLOR: #cccccc; LINE-HEIGHT: 20pt; FONT-FAMILY: "Arial", "Helvetica", "sans-serif"; TEXT-DECORATION: none
}
A:visited {
FONT-SIZE: 12pt; COLOR: #cccccc; LINE-HEIGHT: 20pt; FONT-FAMILY: "Arial", "Helvetica", "sans-serif"; TEXT-DECORATION: none
}

</STYLE>
</head>
<body>
<p><a class="coolcss" target="_blank" href="#">双下划线连接样式===1px</a></p>
<p> </p>
<p><a class="coolcss2" target="_blank" href="#">多好看的样式===thin</a></p>
<p> </p>
<p><a class="coolcss3" target="_blank" href="#">只在IE下有效=====medium</a></p>
<p> </p>
<p><a class="coolcss" target="_blank" href="#">要是能在FF下也有效就更好了啦=1px</a></p>


</body>
</html>[/html]
相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页