Forum:Related Pages Module color changes

Hi, I'm an administrator at the Fig Hunter Wiki. I was wondering if there was any way I could change the 'default colors' on the images so they're the same color as the background, since the current ones (white, for smaller images, and black, for transparent parts of smaller images) look rather ugly when compared with the page background (brown). I messed around with the CSS and couldn't seem to do it, probably because of my inept CSS skills. Example image:



Thanks, Dragonshark 08:33, July 6, 2011 (UTC)
 * I'd presume so, but I think you'd need to upload the images as transparent PNG images, and then they'd be the same color as the background. That's the only thing I can think of. Hope I helped :) --W H  (talk) 08:57, July 6, 2011 (UTC)


 * The problem is that the two images on the right already have transparent backgrounds. I think they're given a black background by default since they're smaller than 200x100px. Also, the images already are PNGs.- Dragonshark 09:01, July 6, 2011 (UTC)
 * Edit: Perhaps it's a JavaScript thing? Does anyone know how I could change the background colors using JS? I have no knowledge of it whatsoever... - Dragonshark 09:06, July 6, 2011 (UTC)


 * Unfortunately, you can't change the colors (unless you change them in the image itself). It's how the images are generated, and there's no way to change that. I guess you could make the image a little wider (not strech it, just make it wider). I did find out though that it'll always use the first image, even when it's invisible. You could put another image inside  on the very top of the page, and it'll use that image instead. - Tjcool007 (Talk) 09:22, July 6, 2011 (UTC)


 * OK, I tried your method, and it seems to work. Thanks. - Dragonshark 10:03, July 7, 2011 (UTC)