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 http://www.mcli.dist.maricopa.edu/tut/tut17.html
    But I didn’t understand:
    "Never use the <marquee> tag"

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

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

    Why?…

    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

    Thanks.

    # June 22, 2008 at 10:38 pm

    jQuery. Always there to help a brother out.

    http://www.gcmingati.net/wordpress/wp-c … 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 jquery.li-scroller.1.0.js file is in the same folder as the html code for the example.

    Code:
    < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">





    • message1
    • message2


    Al

    # 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

    Al

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".