郑州亚新美好艺境:网页设计问题

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/27 12:51:50
<style type="text/css">
body{
cursor:url(2.ani);
}
</style> 这些代码就表示在body 中起作用,但我要在flash,img中起作用应该如何写呢?其代码是怎样的呀
试了一下,不过还是不行.不知道是为什么?

<style type="text/css">
img{cursor:url(2.ani); }
.flash{cursor:url(2.ani); }
</style>

<div class=flash><object>flash code here</object></div>