Search code examples
htmlcssmarquee

<marquee> problem in ie8


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.


Solution

  • 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.