tags:

views:

113

answers:

3

I was wondering if it's alright to use marquee, and if it's supported by other browsers. I know twitter is using it, i think it's quite good for annoucements? any thoughts on that :))

+7  A: 

No, it was DEPRECATED by the W3C.

Good luck!

EDIT:

An alternative for marquee would be to display the whole string in a span or div, for accessibility.

EDIT2:

I can't be sure but at the first glance, twitter isn't using it, BUT even if they used it (which they shouldn't) you should not follow their bad example, they can make mistakes too! :)

EDIT3:

You say it works in all browsers, while this may be true, because modern browsers try to be as compatible as possible, but you should consider that that it is good discipline to always go along with the standards.

Why? A lot of reasons: for example, the mobile browser (every day more popular) don't have the memory to spare as desktop browsers like FF Chrome and IE and they might not display toy content correctly.

EDIT4:

I just got that you were talking about "moving" trending topics, I´m really sorry for the dela, for completeness sake, here is one example:

Demo:

http://remysharp.com/demo/marquee.html

Source:

http://remysharp.com/2008/09/10/the-silky-smooth-marquee/

Trufa
yeh i just foudn the toturial for it, using jquery and css, which is much better and works across all browsers, but i think its people eyes!! i dont know lol :))
getaway
To be fair, it was only [depreciated](http://en.wikipedia.org/wiki/Depreciation) after it was [deprecated](http://en.wikipedia.org/wiki/Deprecation).
djacobson
Trufa
It was never deprecated; it would have had to have been part of HTML in the first place for that to happen.
David Dorward
Are you saying is was a "a proprietary non-standard extension to the HTML standard"?
Trufa
+1  A: 

<marquee> and <blink>, along with abominations like bold pink 18pt text in comic sans on a light purple background, were all the rage with amateur web designers during the 90's because they're "neat", and were supposed to have experienced the true death when they shut down geocities.

The point is they're an eyesore. They keep animating forever. A much better plan would be to use javascript to scroll something in once, like when SO tells you you have new replies or that you've earned a badge. Once gets users' attention without distracting them the whole time they're on the page.

bemace
A: 

Just use a span or div and make animations into it using jQuery or custom javascript :)

marknt15