网页CSS和弹出公告栏
一。
<!--
a {text-decoration:none}
a:hover {color: red;text-decoration:none}
--!>
上面的代码加到<head></head>中,让你的链接的文字没有底线。
二。
<style>
.normal {color:red;}
.start {color:blue;}
</style>
然后我们在要改变的字前后加上下面的代码:
<SPAN onmouseover = "this.className = 'normal'"
onmouseout = "this.className='start'" class=start> here </SPAN>
上面的代码加上去,让你的连接文字在鼠标上去的时候变色。