Forum:Background images

Now, I have another question, how do I add a background image, such as the book background in Wikipedia? I won't use anything distracting from readers, but just something that will make it look a bit nicer. Thanks. TheMaskedMeerkat 21:47, 26 April 2007 (UTC)
 * That's done using CSS in your MediaWiki:Monobook.css. ~Dantman(talk) tricks Apr 26, 2007 @ 23:10 (UTC)
 * Ok. I have an idea of how CSS works, so I can probably get that done. TheMaskedMeerkat 16:16, 27 April 2007 (UTC)
 * Do note that Wikia is coming out with a New skin which may mean you'll need to come up with a new style later on. ~Dantman(talk) tricks Apr 27, 2007 @ 17:03 (UTC)


 * And what about the Skin1? It isn't in preferences, but looks cool :D --Ciencia Al Poder (talk) -@WikiDex 17:41, 27 April 2007 (UTC)


 * Yes, it looks cool but it's hidden for a reason (according to Splarka, it's broken). Ummm... and I had a few problems with it messing my account around (although it's partly my fault for adapting MediaWiki's source code).  -- 20:43, 27 April 2007 (UTC)

Should inline CSS style work for inserting a background-image ?
There are examples that show use of feint images behind text and these all seem to rely on defining a class in a skin-name.css file or common.css

Should it be possible to use inline CSS instead? This does work for background-color so I don't understand why it is not working for background-image.

Desired background image is: and is located at url http://images.wikia.com/central/images/e/e3/Watermark_-_level_1.gif

So this wiki markup : before table


 * {| border="1" cellspacing="1" cellpadding="1" style="border-collapse:collapse;"

background-repeat: no-repeat; background-position: top left;">should have BG in table cell
 * empty
 * should have background

Renders as :

before table


 * {| border="1" cellspacing="1" cellpadding="1" style="border-collapse:collapse;"

background-repeat: no-repeat; background-position: top left;">should have BG in table cell
 * empty
 * should have background

Can anybody point out what I am doing wrong here?

I've tried locating the style code between the (|) pipes. Still no joy!


 * Najevi 17:27, 24 May 2008 (UTC)


 * Background images are disabled from mark-up, to prevent abuse. Background images bypass the external images limitations, and could be harmful because could exploit some browsers pointing to an image with any extension, allowed or not. The only way to have image backgrounds is to use CSS in Common.css and so on. --Ciencia Al Poder (talk) -WikiDex 19:11, 24 May 2008 (UTC)