Forum:Need help coding a sidebar

I am an admin on the Nintendo Wiki and I am trying to create a special sidebar to get more users to use the forum, blogs, editing guides, and other useful features by useing css and javascript to line up images that have links. So far it is working with two problems, the images have some space between them, and the images that shouldn't have links reload the page when clicked on.

Does anyone know how to fix these problems?

Here is the css

Here is the javascript $(document).ready(function { 	$('body').append('      </a> <img src="http://images2.wikia.nocookie.net/nintendo/en/images/0/04/Sidebar-7.png" /></a> '); });


 * You'd have to get approval from staff for something like this. Last I heard, this isn't allowed (depends on where it should show up). I'd take a screenshot and ask staff if you can do this before attempting to get help for it. Rappy 02:01, May 27, 2012 (UTC)


 * Ok, I removed it and will ask the staff if I can add it.