求高手解决下,代码在火狐浏览器和IE浏览器下的显示不一样!

来源:百度知道 编辑:UC知道 时间:2024/05/14 05:19:18
求高手解决下,代码在火狐浏览器和IE浏览器下的显示不一样!
就是下面这段代码 在IE里面显示正常 在火狐里面就不行了

<P>  
<MARQUEE style="WIDTH: 310px; HEIGHT: 130px" scrollAmount=3 scrollDelay=3 direction=right width=607 height=151>
<P><A href="http://shashashuma.web.cqbi.com/cp/html/?25.html"></A><A href="http://shashashuma.web.cqbi.com/cp/html/?24.html"></A><A href="http://shashashuma.web.cqbi.com/cp/html/?23.html"></A><A href="http://shashashuma.web.cqbi.com/cp/html/?22.html"></A>&

你的代码是正常的,不过Width与Height的语法已经被淘汰了,另外在标签内的事件,可以不用带Javascriprt的前缀。

<marquee behavior=scroll direction='up' scrollamount=1 scrolldelay=1 onmouseover='this.stop()' onmouseout='this.start()' style="width:224px; height=150px; ">
<A href="http://shashashuma.web.cqbi.com/cp/html/?24.html"></A>
<A href="http://shashashuma.web.cqbi.com/cp/html/?23.html"></A>
<A href="http://shashashuma.web.cqbi.com/cp/html/?22.html"></A>
</marquee>
顺便吧上面代码中的this去掉就万无一失了,不过好像是真不支持图片的Marquee呢!