View Full Version : Marquee help
05-08-2006, 07:51 AM
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!
05-08-2006, 08:03 AM
<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.
05-08-2006, 08:03 AM
Double post by accident. Odd that the delete function is disabled here.
05-08-2006, 08:40 AM
Thank you so much! That help worked great! This is what the page looks like now:
05-08-2006, 10:48 AM
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.
05-08-2006, 12:35 PM
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.
05-08-2006, 01:19 PM
Okay: I just lost all confidence in the W3C... :(
05-08-2006, 02:04 PM
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.