Follow via:
RSS
Email Alert
Question
0 Votes
+ -

CSS instead of a marquee tag?

How do use CSS to replace a tag?
Tags: programming
6th Feb 2008

Answers (1)

0 Votes
+ -
You don't.............
The marquee tag is a non-standard proprietary tag that doesn't work in all browsers. In fact, it works in very few browsers. For the browsers that don't recognize the tag, it's simply text on the page and not even in a "paragraph". Some browsers don't even display the text. They ignore the tag and it's contents.

There is no CSS that replaces what the marquee tag does (making text move). However, text can be made to move in a variety of ways, animated GIF's being one way. Javascript being another. So, if you care to learn that language, you can make text move. Or, you can search for a pre-written script to do it.
Updated - 6th Feb 2008
Answer the question
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.