CSS取代onmouseover及onmouseout。
.button
{
border:1px solid #AAAAAA;
padding:3px 1px 0px 1px;
cursor:hand;
background-color:#b34d4d;
color:#FFFFFF;
height:20px;
font-size:9pt;
event:expression( onmouseover = function(){
this.style.backgroundColor = "#8a1b05";
this.style.color = "#FFFFFF";
},onmouseout = function(){
this.style.backgroundColor = "#b34d4d";
this.style.color = "#FFFFFF";
})
}
沒有留言:
張貼留言