为什么我的< marquee>中的链接/ span标记?在Firefox中出现在几行?

<marquee behavior="scroll" scrollamount="10" onmouseover="style.cursor='hand';   this.setAttribute('scrollamount', 0, 0);"                       onmouseout="this.setAttribute('scrollamount', 6, 0);" id="ticker" direction="right">
   <div style="width:719px ;height:20px; font-family:Arial;color:red"id="ticker01">
       <span>1/2/2011</span><a href="a.aspx">one</a>
       <span>2/2/2011</span><a href="b.aspx">two</a>
       <span>3/2/2011</span><a href="c.aspx">three</a>
       <span>4/2/2011</span><a href="d.aspx">four</a>           
   </div>
</marquee>
在IE8中:GOOOOOOOD !!!! 显示:1/2/2011一个2/2/2011两个3/2/2011三个4/2/2011四个 只有一行。 但 在Firefox中:问题???????? 图所示:
       1/2/2011 one 
       2/2/2011 two
       3/2/2011 three
       4/2/2011 four
总之,几条线正在移动 jquery,相当于某人做同样的事情,从右到左都是;;     
已邀请:
我猜Firefox可能会在
<marquee>
标签内呈现换行符,好像它们是
<br>
标签一样? 有点烦人,但你能尝试删除换行符吗?
<marquee behavior="scroll" scrollamount="10" onmouseover="style.cursor='hand';   this.setAttribute('scrollamount', 0, 0);"                       onmouseout="this.setAttribute('scrollamount', 6, 0);" id="ticker" direction="right">
   <div style="width:719px ;height:20px; font-family:Arial;color:red"id="ticker01">
       <span>1/2/2011</span><a href="a.aspx">one</a> <span>2/2/2011</span><a href="b.aspx">two</a> <span>3/2/2011</span><a href="c.aspx">three</a> <span>4/2/2011</span><a href="d.aspx">four</a>           
   </div>
</marquee>
    

要回复问题请先登录注册