Wikia

Community Central

Using marquee elements

92,126pages on
this wiki

Forum page

This Forum has been archived

Visit the new Forums
Forums: Index Support Requests Using marquee elements
Wikia'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 803 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)

Around Wikia's network

Random Wiki