Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8

Thread: Marquee help

  1. #1
    New to the CF scene
    Join Date
    May 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Marquee help

    I know how to do marquee's and I have some of them on one of my sites (www.danielgbraun.com) but I want to have two marquees on the same line so it looks like one is in front of the other. I've played with <div> and <layer> to no avail. Any suggestions? Yes I know my site is using templates...that's all I've had time to do so far. Any help is appreciated!

  • #2
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,300
    Thanks
    28
    Thanked 275 Times in 269 Posts
    <marquee style="width: 500px; background: #f00;">This is some randomness.</marquee>
    <marquee style="width: 500px; position: relative; z-index: 1; top: -10px; left: 20px; border: 1px dotted #ff0; color: #ff0;">This is some randomness.</marquee>


    I'm fairly certain this code isn't technically valid though since marquees won't be defined in the standard until CSS3.
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #3
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,300
    Thanks
    28
    Thanked 275 Times in 269 Posts
    Double post by accident. Odd that the delete function is disabled here.

  • #4
    New to the CF scene
    Join Date
    May 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you so much! That help worked great! This is what the page looks like now:

    http://danielgbraun.com/whats_new.html?XTIME=1147070326

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Marquee schmarquee

    marquees won't be defined in the standard until CSS3
    I seriously hope that statement is an error; if not, I'd love to see which CSS3 module implements marquees or anything in that fashion.

    The marquee element, although disappointingly supported by browser manufacturers that should know better, is not part of any current HTML standard and because of a number of serious accessibility and usability issues should be avoided for any serious applications.
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #6
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,300
    Thanks
    28
    Thanked 275 Times in 269 Posts
    Quote Originally Posted by ronaldb66
    I seriously hope that statement is an error; if not, I'd love to see which CSS3 module implements marquees or anything in that fashion.
    Nope, it's not in error. Marquee properties are detailed under section 18 of the CSS3 box model module.

    Resource: http://www.w3.org/TR/css3-box/#marquee
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #7
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Gone

    Okay: I just lost all confidence in the W3C...
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #8
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,300
    Thanks
    28
    Thanked 275 Times in 269 Posts
    lol

    What's so bad about marquees? It'll keep people using code governed by standards and they'll be able to achieve the marquee effect with CSS and without resorting to languages that require plug-ins. You can actually do some pretty neat things with them too like with Red Z's finished product above. To achieve the same effect with current technology you'd either have to use Flash, Java, the dated (low-quality) GIF, or some unsupported format like *.mng and it would be less dynamic with a significantly larger file size. The only purpose of CSS is style after all; otherwise we'd be reading text that looks like a common *.txt file.
    For every complex problem, there is an answer that is clear, simple, and wrong.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •