Treehouse: Grow your CSS skills. Land your dream job.

Text ‘passing by’

  • # June 21, 2008 at 11:33 pm

    Could anyone tell me how can i make a text ‘passing by'( to the left or to the right)?

    # June 22, 2008 at 6:18 am

    What do you exactly mean with ‘passing by’?

    # June 22, 2008 at 7:33 am

    I think he means marquee text. :)

    # June 22, 2008 at 11:27 am

    Yeah, a moving text.

    Thanks Banzaiaap, I’ve found this link
    But I didn’t understand:
    "Never use the <marquee> tag"

    Why? It’s working perfectly in Opera, Firefox and IE6.

    # June 22, 2008 at 12:23 pm
    "alwas56" wrote:
    "Never use the <marquee> tag"


    Because you shouldn’t use html tags that add styling or behaviour to your document. The tag used for your content should describe that contents meaning and not its visual style. Styling should be separate from the content which is why we use external stylesheets. Similarly, behaviour is controlled using external javascript sheets.
    As scrolling text would be deemed a behaviour (in my opinion, but I’m willing to be corrected on this) I would suggest looking for a javascript solution.

    # June 22, 2008 at 5:23 pm


    # June 22, 2008 at 10:38 pm

    jQuery. Always there to help a brother out. … imate.html

    # July 10, 2008 at 2:08 pm

    trying to use the jQuery function to scroll a message, and it is not working for me,
    what am I doing wrong?

    The file is in the same folder as the html code for the example.

    < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

    • message1
    • message2


    # July 11, 2008 at 12:04 am

    solved my own problem, took the html/css example and modified it to work,
    found that I had deleted too much of the CSS code, it needed the CSS code
    that formats the display areas


Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.