| View previous topic :: View next topic |
| Author |
Message |
Ali Cat
Joined: 05 Feb 2006 Posts: 2
|
Posted: Sun Feb 05, 2006 1:17 pm Marquee using css |
|
|
|
I'm relatively new to css, and was wondering if there was a way to make a marquee type thing. I don't want to use javascript, or flash... .
Cheers, Ali. |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8749 Location: Castle Pines North, CO USA
|
Posted: Sun Feb 05, 2006 2:44 pm |
|
|
|
Not with CSS. The marquee tag in HTML was actually never even a compliant HTML tag. Microsoft introduced it and the W3 never made accepted it. Most browsers still support it today.
CSS might do something at some point, but then the browsers would have to support it and even MS Internet Explorer 6.0 does not fully support the latest version of CSS.
You can find some scripts that imitate the marquee tag on the Dynamic Drive site but most use JavaScript.
_________________
Corey
Loud Commerce | LoudHost | Toll Free Solutions |
|
Ali Cat
Joined: 05 Feb 2006 Posts: 2
|
Posted: Mon Feb 06, 2006 3:30 am |
|
|
|
Ah well, never mind. I guess it will still work for a few years, 'till css can be used.
Thanks Corey. |
|
Rocket Boy

Joined: 31 Jan 2006 Posts: 47
|
Posted: Mon Feb 06, 2006 1:52 pm |
|
|
|
Yes... Can be done with CSS. One minor set back though, you have to add some JavaScript. check out this example, it's good, very very smooth.
Oh.. Nearly forgot... It's more of a news ticker than a marquee... Check it out though, it might be the closest thing to what you are looking for.
Includes instructons and the JavaScript file so you don't really need to so anything except, copy, paste and modify to your design.
http://www.militaryfairy.co.uk/Progs/scrolling_text.html |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8749 Location: Castle Pines North, CO USA
|
|
Rocket Boy

Joined: 31 Jan 2006 Posts: 47
|
Posted: Mon Feb 06, 2006 2:00 pm |
|
|
|
Which is a bit sad I agree... I would use it a lot more without the JS.
Sorry Corey, didn't mean to stamp all over your original post in this thread but thought maybe a half solution was better than none... Reeee-spect  |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8749 Location: Castle Pines North, CO USA
|
Posted: Mon Feb 06, 2006 2:06 pm |
|
|
|
No worries - I just did not know if you had seen where I did point that out as well in my post over to the DD site. Most developers don't use the marquee tag for different reasons and since MS did come up with it, I doubt that it will ever become standard anywhere
_________________
Corey
Loud Commerce | LoudHost | Toll Free Solutions |
|
Rocket Boy

Joined: 31 Jan 2006 Posts: 47
|
Posted: Mon Feb 06, 2006 2:10 pm |
|
|
|
You won't get any argument from me on that one
All is not lost Ali, the JS might work for you but as you can tell... The whole idea of scrolling text should have been taken care of better in the first place.  |
|
gary.newelluk
Joined: 12 May 2005 Posts: 548 Location: Peterhead, Scotland
|
Posted: Wed Feb 08, 2006 9:53 am |
|
|
|
Anyone know why the Marquee tag was never accepted?
Seems like a good tag to have especially as everyone tries to emulate it using javascript. |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8749 Location: Castle Pines North, CO USA
|
Posted: Wed Feb 08, 2006 11:52 am |
|
|
|
Gary I have read on some sites that it was never accepted because it was a MS tag. I have also read that it was introduced at the wrong time and too many people were using the tag (either too many or using it incorrectly).
Of course, those are just rumors etc. Personally, I used the tag back in 1997 or so but only for a few months.
Now you can create the marquee also in flash as well and I think that since it can be re-created in other ways, it might not ever be a compliant HTML tag.
_________________
Corey
Loud Commerce | LoudHost | Toll Free Solutions |
|
trav
Joined: 01 Aug 2006 Posts: 1
|
|
|