我正在使用选取框,它在 chrome 中运行良好,但在 Firefox 中它一次又一次地只显示第一个 div。这是代码:
<marquee direction="up" scrollamount="3">
<div class="eachnews">
<a href="#"> <div class="news-date"><span class="day_news">15</span><span class="month_news">Apr</span>
</div>
<div class="news-descript"><h2>News Title</h2>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen.
</p>
</div></a>
</div>
<div class="eachnews">
<a href="#"> <div class="news-date"><span class="day_news">16</span><span class="month_news">Jan</span>
</div>
<div class="news-descript"><h2>News Title</h2>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen.
</p>
</div></a>
</div>
<div class="eachnews">
<a href="#"> <div class="news-date"><span class="day_news">17</span><span class="month_news">Oct</span>
</div>
<div class="news-descript"><h2>News Title</h2>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen.
</p>
</div></a>
</div>
<div class="eachnews">
<a href="#"> <div class="news-date"><span class="day_news">18</span><span class="month_news">Mar</span>
</div>
<div class="news-descript"><h2>News Title</h2>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen.
</p>
</div></a>
</div>
</marquee>
写入“15 apr”的div只是在ff中重复,在chrome中所有div都可以正常循环。请帮忙