< marquee>问题在ie8 [英] <marquee> problem in ie8
本文介绍了< marquee>问题在ie8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何解决此问题?
提前感谢。
解决方案
不推荐使用marquee元素。 W3C建议使用 < em>
和< strong>
作为替代方案。如果你需要模仿字幕的行为,JavaScript有工具。 此讨论有一个有效的JavaScript示例。
My <marquee>
tag is working perfectly in ie6 and ie7, but in ie8 it only shows first item.
How can I fix this?
Thanks in advance.
解决方案
The marquee element is deprecated. The W3C recommends using <em>
and <strong>
as alternatives. If you need to mimic the behavior of the marquee, JavaScript has tools for doing that. This discussion has a working JavaScript example.
这篇关于< marquee>问题在ie8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文