...

View Full Version : Marquee help



Red Z
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!

Arbitrator
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.

Arbitrator
05-08-2006, 08:03 AM
Double post by accident. Odd that the delete function is disabled here.

Red Z
05-08-2006, 08:40 AM
Thank you so much! That help worked great! This is what the page looks like now:

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

ronaldb66
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.

Arbitrator
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.

Resource: http://www.w3.org/TR/css3-box/#marquee

ronaldb66
05-08-2006, 01:19 PM
Okay: I just lost all confidence in the W3C... :(

Arbitrator
05-08-2006, 02:04 PM
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum