<style>
.mydiv{
color:white;
filter:light;
height:;
font-size:35px;
left:10px;
position:relative;
top:10px;
width:400px;
}
</style>
<script type="text/javascript">
function init(){ document.all.div1.filters.light.addAmbient(,,,);
document.all.div1.filters.light.addCone(,,,,,,,,,);
}
function move(){
document.all.div1.filters.light.moveLight(,window.event.x-,window.event.y,,);
} </script>
<body onload="init()" onmousemove="move()">
<div id="div1" class="mydiv">
今天天气阴
</div>
</body>
效果图: