PDA

View Full Version : Remove space between images in an article?


montsa007
07-08-2012, 02:15 PM
Hi,
I am using vb 4.1.3 and trying to create an article with a few images which combine to show up as a table, when I post the image codes, I see space between the images.
Please see the image below to know what I mean, how do I get rid of this?

http://i.minus.com/j3SnoQr7fFg8s.png (http://minus.com/l3SnoQr7fFg8s)

kh99
07-09-2012, 03:53 PM
You need to remove the padding from the table cells. If you're using bbcode table tags, you could add this to your additional.css template:
.cms_table td
{
padding: 0;
}

but that will change all tables used in any article.


Another way would be to allow html in the article and then you could do something like
<table><tr><td style="padding: 0">img here</td></tr>

etc

montsa007
07-11-2012, 05:45 AM
Tried adding the additional css defination but does not work, gives the same results (spacing between two images)
I ended up installing this thing and seems it is working
https://vborg.vbsupport.ru/showthread.php?t=229035&highlight=html