<marquee> problem in ie8

jasmine picture jasmine · Feb 19, 2010 · Viewed 15.3k times · Source

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.

Answer

David picture David · Feb 19, 2010

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.