打印本文 打印本文 关闭窗口 关闭窗口
在CSS里如何写脚本
作者:武汉SEO闵涛  文章来源:敏韬网  点击数823  更新时间:2009/6/9 2:31:44  文章录入:mintao  责任编辑:mintao
<style type="text/CSS">
.showCSS{
event:expression(
onmouseover = function()
{
this.style.backgroundColor='#f0f0f0'
},
onmouseout = function()
{
this.style.backgroundColor='#ffffff'
}
)
}
</style>
<div class="showCSS">把鼠标放上去试试看</div>
打印本文 打印本文 关闭窗口 关闭窗口