|
藍森林 http://www.lslnet.com 2006年8月25日 8:28
請教大家!請進!
如何給文字鏈接的鼠標觸發事件加虛線,鼠標移到鏈接文字上面,文字出現一條下劃的虛線,實線晚生做過!但虛線........:(
高手幫幫我,謝謝大家! |
怎麼沒人教我啊!
:( |
不知道這樣行不行!!!有點麻煩,希望找到更好的辦法!
[html]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>無標題文檔</title>
<style type="text/css">
<!--
a:hover {
font-size: 9pt;
color: #FF0000;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: dashed;
border-left-style: none;
border-top-color: #669966;
border-right-color: #669966;
border-bottom-color: #669966;
border-left-color: #669966;
}
.asdsad {
font-size: 9pt;
line-height: 24px;
color: #111111;
text-decoration: none;
}
-->
</style>
</head>
<body>
<span class="unnamed1"><a href="#" class="asdsad">春風再美也不及你的笑,沒見過你的人不會明瞭</a></span>!
</body>
</html>
[/html] |
能講具體點嗎?謝謝! |
不是把代碼給你了嗎?就是一些css樣式! |
現在好像只能用 websterjt 提供的方法了```
不過等 css3 出來後,就方便了`
|
|