HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Marquee using css
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
Ali Cat



Joined: 05 Feb 2006
Posts: 2

PostPosted: Sun Feb 05, 2006 1:17 pm     Marquee using css Reply with quote

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

PostPosted: Sun Feb 05, 2006 2:44 pm     Reply with quote

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

PostPosted: Mon Feb 06, 2006 3:30 am     Reply with quote

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

PostPosted: Mon Feb 06, 2006 1:52 pm     Reply with quote

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

PostPosted: Mon Feb 06, 2006 1:57 pm     Reply with quote

Well I knew it could be done with a combination but not entirely with CSS unfortunately

_________________
Corey
Loud Commerce | LoudHost | Toll Free Solutions
Rocket Boy



Joined: 31 Jan 2006
Posts: 47

PostPosted: Mon Feb 06, 2006 2:00 pm     Reply with quote

Corey Bryant wrote:


Well I knew it could be done with a combination but not entirely with CSS unfortunately

_________________
Corey
Loud Commerce | LoudHost | Toll Free Solutions


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 Wink
Corey Bryant
Site Admin


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

PostPosted: Mon Feb 06, 2006 2:06 pm     Reply with quote

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

PostPosted: Mon Feb 06, 2006 2:10 pm     Reply with quote

Corey Bryant wrote:


since MS did come up with it, I doubt that it will ever become standard anywhere

_________________
Corey
Loud Commerce | LoudHost | Toll Free Solutions


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. Smile
gary.newelluk



Joined: 12 May 2005
Posts: 552
Location: Inverurie, Scotland

PostPosted: Wed Feb 08, 2006 9:53 am     Reply with quote

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

PostPosted: Wed Feb 08, 2006 11:52 am     Reply with quote

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

PostPosted: Tue Aug 01, 2006 1:24 pm     Reply with quote

Just thought you guys would like to know that it looks like the marquee property will be in CSS3

http://www.w3.org/TR/css3-box/#marquee
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> CSS All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial