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.
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.
From what I understand Marquee is deprecated, and IE8 might be the version of IE that Microsoft decided to completely leave out support for that tag. Even if you do find a way to get it to work, I would suggest using another method to get the text to scroll (if that is what is needed) becuase you will probably have the same problem in the next version if IE.
EDIT: You can try java script...after a quick search I found this site that looks like it will generate the code for you. Also, since it's javascript it should now also work on Firefox, Chrome, etc. http://rumkin.com/tools/marquee/
do you have the marquee set to slide instead of scroll? or a very long scrolldelay?
As much as it pains me to link this: http://remysharp.com/demo/marquee.html
A jquery based marquee which will work across browsers.
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.
As much as I loathe the element and the vast majority of its use-cases, CSS3 seems to have brought it back:
the solution:
http://www.dynamicdrive.com/forums/showthread.php?t=48741
My problem is solved!!
I really feel the scroller mechanism is pre-Web 2.0. If your client wants it, well you may not have a lot of options but I would really try and do some kind of demo to highlight that there are better ways and it would not cause any instability to the site if implemented correctly.
I know many clients are cautious, but in my experience if you can show them a better alternative which is as stable or even more stable and at a low cost (time and money) then they are willing to accept the new way more often than not.