Forum:Need help making tables with a background

On the Nintendo Wiki I am working on trying to make a badge case thing for special community awards for users. To do that I am trying to make a table that has a background that would repeat so it would have small spaces for users to put the badges. I've used css before to make images table backgrounds, but when I tried it it didn't work. Here is the css I am trying to use (though without the image url).

.badgecase { background: url("http://IMAGEURL.png") repeat; }

Here is the code I am using to add the class to the table.

class="badgecase"

Does anyone know why it isn't working?


 * Do you have a link to the page where you are trying to get it working? - Tjcool007 (Talk) 19:18, July 25, 2012 (UTC)


 * Yep. Here, at the top of my userpage.


 * You are putting the code in your MediaWiki:Common.css, which by default doesn't apply to the Wikia (Oasis) skin. You need to either put the code in your MediaWiki:Wikia.css, or import MediaWiki:Common.css in MediaWiki:Wikia.css. You can se it working in monobook. - Tjcool007 (Talk) 19:25, July 25, 2012 (UTC)


 * I can see it working in monobook, but when I tried importing the Common.css to the Wikia.css and adding the code to the Wikia.css neither worked when I view the page in oasis. It is now working.