Fandom

Community Central

Using marquee elements

Forum page

19,011pages on
this wiki
Add New Page
Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

This Forum has been archived

Visit the new Forums
Forums: Index Support Requests Using marquee elements
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 1602 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.



Hello,
A friend showed me a HTML line that looks like this:

<marquee bgcolor="#cccccc" loop="-1" scrollamount="2" width="100%"> Message here</marquee>

Because marquee element is not available in editing mode, i tried to make a CSS for him in MediaWiki:Wikia.css, even though i'm not really goon in creating new CSS. It looks like this:

.marquee style { 
 bgcolor="#cccccc"
 loop="-1"
 scrollamount="2"
 width="100%
}

However, it doesn't work. Can someone please take a look and see if he (or she) can find hte problem? or perhaps, the whole structure of my CSS is incorrect? Please reply.
Penguin-Pal (talk) 15:46, July 7, 2012 (UTC)

The marquee element is not supported in HTML 5, so I don't recommend using it. As for your code, it used an incorrect selector (correct would be marquee, not .marquee style) and obsolete, unsupported HTML 4 attributes, not CSS. If you wish, I can post a CSS version, but the whole element is unsupported so I'm not sure whether you'd like that. Cheers! TK999 19:26, July 7, 2012 (UTC)

Also on Fandom

Random Wiki