Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Scrolling Text YES or NO!

Hi all,

I have been asked to put some scrolling text onto a site using the simple marquee HTML method.

I am just curious to know what peoples thoughts are on using the marquee attribute is it old fashioned/ bad design is it best to use JQuery of some sort ???

5 Answers

No as it's hard to read & distracts from other (perhaps more important) content. If the content that is wanted in the marquee is meant to be important then having it scroll means users cannot see all of it at once.

Best to not use it.

Cheers Tom,

The area it has been requested is to highlight an up coming event basically they want the event information to scroll above a registration button!

Thanks for you input

I believe this follows into the category of just because we can doesn't mean we should.

But it can be easily done in CSS3 using keyframe animation, with support for IE10+, Firefox 5+, Chrome, Safari 4+.

Here's a proof of concept: http://codepen.io/jamesbarnett/pen/kfmKa

Demo of code from: http://visualidiot.com/articles/css3

Thanks James Barnett I appreciate your links!

Looks like a lot more work doing it the CSS way :)

It's probably simpler than any JQuery you'd find to do it. But using a marquee interaction will almost certainly lead to a very poor user experience.

Yeah I appreciate that James the JQuery method would be very difficult compared to CSS to be honest I think i may leave the scrolling effect as you say just adds to a poor user experience!