1
<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 中:太好了!!!!

显示:2011 年 1 月 2 日 1 2011 年 2 月 2 日 2011 年 3 月 2 日 三 2011 年 4 月 2 日 4

仅在一行中。

在 Firefox 中:问题??????

显示:

       1/2/2011 one 
       2/2/2011 two
       3/2/2011 three
       4/2/2011 four

一起,几条线在移动

jquery,相当于有人做同样的事情,并且是从右到左分别;;


由于即使第一个秒秒发生变化,swap.h如果发生变化也无济于事,简短的回答是否定的。other.h#include

...但是,如果某些 C 源包含swap.h且 swap.h 包含other.h,则 other.h 中的更改将影响 / 需要从所述 C 源生成的对象。

但是,通常情况下,您不想手动维护标头依赖项。这是费力且容易出错的。

有几种方法可以自动生成这些依赖项。

我可以推荐Advanced Auto-Dependency Generation论文。这种方法并不完美,但它与 Makefiles 一样好。

4

1 回答 1

0

I guess Firefox might be rendering the line breaks within the <marquee> tag as if they were <br> tags?

Bit annoying, but could you try removing the line breaks?

<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>
于 2011-04-04T08:00:40.067 回答