0

I am using EDGE version 44. I tried to use Marquee but it's notworking. In chrome its working fine. I tried same code in EDGE it's blinking. Below is my code.

<marquee behavior="scroll" direction="left" scrollamount="2">It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.</marquee>
  • why dont you use animation, check the browser compatiablity https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Animations – Akhil Aravind Mar 12 '20 at 06:10
  • Does this answer your question? [Why is deprecated and what is the best alternative?](https://stackoverflow.com/questions/31951282/why-is-marquee-deprecated-and-what-is-the-best-alternative) – Jon P Mar 12 '20 at 21:31

2 Answers2

2

According to W3, marquee is a deprecated tag in HTML5 and shouldn't be used. Also, your question has already been answered, see Why is deprecated and what is the best alternative?

Using CSS animations is the native way to achieve your desired result.

Guney Cobanoglu
  • 733
  • 1
  • 6
  • 20
  • I used animations but in chrome it's working fine, but in EDGE it not scrolling entire text from left to right – ramu mothukuri Mar 12 '20 at 06:18
  • @ramumothukuri What is your Edge version? According to [caniuse.com](https://caniuse.com/#search=animation), animation support on Edge versions below 79 is unknown and most likely it isn't supported. – Guney Cobanoglu Mar 12 '20 at 13:36
  • @ramumothukuri you say you used animations.... not in the code you have provided. We can't debug code we can't see. Regardless of that, don't use deprecated tags. – Jon P Mar 12 '20 at 21:30
-1

You can use the jquery animation its working fine in all browser.Here is the Url : - Marque Link

Harshsetia
  • 256
  • 2
  • 6