Forum:Problem with Line Breaks

Hi, I want to have Line breaks of 0px between my images but when I Publish, the images separate again. Even when I edit the code (all the code with where I want the breaks to be) and check the Visual editor, there's no space between the images, it was working at one point, but now it isn't working for some bizarre reason. This is the page I've been trying to do it on. Endabuwya (talk) 03:53, November 30, 2012 (UTC) :You can do it like this:


 * Didn't work

Endabuwya (talk) 08:34, November 30, 2012 (UTC)


 * It's, not  . --Category:Ciencia Al Poder  (talk) -WikiDex 10:33, November 30, 2012 (UTC)
 * It's also good practice to close these elements: . While Wikia pages are served as text/html, $wgWellFormedXML is true, so closing tags keeps your added code in line with what the software does.TK-999 (talk) 16:20, November 30, 2012 (UTC)
 * I tried both  and , the first made a series of massive line breaks and the second only localised it to the first break. Endabuwya (talk) 21:06, November 30, 2012 (UTC)

I'm not sure why there's all that space there.. weird. Instead of slicing your background up, I'd recommend leaving it as a single image and then using absolute positioning to put the 32x32 icons on top of it. I made an example for you. You could very easily make that into a template and then use it on your pages with code such as:


 * Thanks Mathmagician, unfortunately using the template seems to just add the content of the page in and doesn't allow me to specify images and links.
 * Endabuwya (talk) 12:21, December 1, 2012 (UTC)


 * Just to clarify, I didn't make it fully into a template. I gave you a framework that you can modify to create the template (I was assuming that you'd figure out what needs tweaking -- I didn't want to do everything for you). Once you've created the template, then you'd be able to specify the images and links.


 * Ok, thanks. I didn't end up making it into an actual template as I have no idea how to do that so I just copied and pasted it a heap of times into my pages.

Endabuwya (talk) 05:53, December 4, 2012 (UTC)