Welcome to Dream.In.Code
Become an Expert!

Join 149,584 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,779 people online right now. Registration is fast and FREE... Join Now!




Marquee in css

 
Reply to this topicStart new topic

Marquee in css

lalith
8 Oct, 2007 - 04:08 AM
Post #1

New D.I.C Head
*

Joined: 8 Oct, 2007
Posts: 2


My Contributions
How to Marquee a text using CSS?
User is offlineProfile CardPM
+Quote Post

William_Wilson
RE: Marquee In Css
11 Oct, 2007 - 05:13 AM
Post #2

lost in compilation
Group Icon

Joined: 23 Dec, 2005
Posts: 4,101



Thanked: 25 times
Dream Kudos: 3275
Expert In: Java, C, Javascript

My Contributions
my first question would be "why?" marquee in my opinion should be avoided like the plague, along with it's counterpart blink.

css is for styles, etc. You would likely be looking at javascript or some other language to create such a thing. As far as I know css cannot do anything like that.
User is offlineProfile CardPM
+Quote Post

asadarnell
RE: Marquee In Css
11 Oct, 2007 - 05:33 PM
Post #3

D.I.C Head
**

Joined: 30 Aug, 2007
Posts: 108


My Contributions
QUOTE(William_Wilson @ 11 Oct, 2007 - 06:13 AM) *

my first question would be "why?" marquee in my opinion should be avoided like the plague, along with it's counterpart blink.

css is for styles, etc. You would likely be looking at javascript or some other language to create such a thing. As far as I know css cannot do anything like that.

HTML can do marquees.
http://www.quackit.com/html/codes/html_marquee_code.cfm
User is offlineProfile CardPM
+Quote Post

capty99
RE: Marquee In Css
11 Oct, 2007 - 09:00 PM
Post #4

the real kya
Group Icon

Joined: 26 Apr, 2001
Posts: 9,252



Thanked: 16 times
Dream Kudos: 550
My Contributions
it CAN, but it shouldn't
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Marquee In Css
11 Oct, 2007 - 09:24 PM
Post #5

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,482



Thanked: 161 times
Dream Kudos: 9050
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
QUOTE(asadarnell @ 11 Oct, 2007 - 06:33 PM) *


I'm sorry, but Marquee was kinda cool back in the early 90's and such, but if anyone uses it today they should be strung up by their toes. Just my opinion smile.gif

User is offlineProfile CardPM
+Quote Post

Arbitrator
RE: Marquee In Css
11 Oct, 2007 - 11:57 PM
Post #6

D.I.C Regular
Group Icon

Joined: 26 Jan, 2005
Posts: 492



Thanked: 1 times
My Contributions
QUOTE(lalith @ 8 Oct, 2007 - 07:08 AM) *
How to Marquee a text using CSS?
Currently, you can’t create marquees purely via CSS; you’d have to use (non‐standard) scripting to adjust the CSS over time or violate the HTML 4.01 specification and use the marquee element.

Several marquee properties are available as part of the CSS3 Basic Box Model module, but that module is still in W3C Working Draft status and I know of no implementations to date. See http://www.w3.org/TR/css3-box/#marquee if interested.

QUOTE(asadarnell @ 11 Oct, 2007 - 08:33 PM) *
There’s no marquee element defined in the HTML 4.01 specification. There is one mentioned in the HTML 5 specification, but it hasn’t been defined yet and the specification is still a W3C Working Draft. The marquee element is a proprietary creation of Microsoft that was subsequently added to other browsers for the sake of Internet Explorer compatibility; technically, the extension is incompatible with the HTML 4.01 specification since use of it would make your document invalid.
User is offlineProfile CardPM
+Quote Post

asadarnell
RE: Marquee In Css
12 Oct, 2007 - 04:31 AM
Post #7

D.I.C Head
**

Joined: 30 Aug, 2007
Posts: 108


My Contributions
QUOTE(Arbitrator @ 12 Oct, 2007 - 12:57 AM) *

QUOTE(lalith @ 8 Oct, 2007 - 07:08 AM) *
How to Marquee a text using CSS?
Currently, you can’t create marquees purely via CSS; you’d have to use (non‐standard) scripting to adjust the CSS over time or violate the HTML 4.01 specification and use the marquee element.

Several marquee properties are available as part of the CSS3 Basic Box Model module, but that module is still in W3C Working Draft status and I know of no implementations to date. See http://www.w3.org/TR/css3-box/#marquee if interested.

QUOTE(asadarnell @ 11 Oct, 2007 - 08:33 PM) *
There’s no marquee element defined in the HTML 4.01 specification. There is one mentioned in the HTML 5 specification, but it hasn’t been defined yet and the specification is still a W3C Working Draft. The marquee element is a proprietary creation of Microsoft that was subsequently added to other browsers for the sake of Internet Explorer compatibility; technically, the extension is incompatible with the HTML 4.01 specification since use of it would make your document invalid.

Didn't know that.

I do agree it's tacky, and VERY unprofessional.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 10:52PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month