Forum:How to make a userpage background image?

Hi there, I've come across this userpage that has a background different from the wiki's background. My question is, how do I replicate this user's background code? I've tried simply taking the code and applying it to my page on another wiki but it doesn't seem to work. Kozakuu 11:26, February 26, 2012 (UTC)


 * They did that by using CSS tricks. Here's the code they have in the User:KATANAGOD/Background page:

 http://i.imgur.com/cqGao.png http://i.imgur.com/nWIzE.png
 * Basically, they have two large, externally hosted images that they placed inside of two specially positioned boxes. The boxes are positioned to the left and right of the page, thus making it seem like a background image.
 * Also, just fyi, the code on that userpage is really bad html. They didn't close their first span tag, and placing block level elements inside of inline elements is completely wrong.
 * I've made an example on this forum page just to show how incredibly obnoxious this trick could be. Note that it doesn't work with Monobook and causes problems when previewing edits in the Wikia skin. --Gardimuer { ʈalk } 14:58, February 26, 2012 (UTC)
 * Argh, that's very ugly. I've removed it because it breaks the page, you can see it here --  Random Time  15:49, February 26, 2012 (UTC)
 * I see, so in that case, may I have a version of the code where I can insert my own appropriate images? Kozakuu 10:04, February 27, 2012 (UTC)


 * I really, really do not recommend that you use this method. However, if you are dead set on it, the code you need would depend on the width(s) of the image(s) you want to use. --Gardimuer { ʈalk } 11:54, February 27, 2012 (UTC)
 * Is there any reason why you don't recommend this method?, this may sound naive but I'm somewhat new to Wikia coding and I don't see how it could be a problem. Kozakuu 05:19, February 28, 2012 (UTC)


 * It has nothing to do with Wikia. The HTML itself is a bit problematic. It is used against specifications and against common sense. If a hack like this does work, it's just dumb luck. There's no guarantee that it will work in all browsers or survive an eventual redesign by the Wikia people. If you can live with those caveats, do it! -- Pecoes 06:26, February 28, 2012 (UTC)