Forum:Subgroup tables border collapse

I've been trying to implement a way to collapse the borders of two templates into one single border if they are placed against each other.

This is the template:

http://godfather.wikia.com/wiki/Template:Succession_box

Here's an example of how it now looks:

http://godfather.wikia.com/wiki/Agostino_Tramonti

You see that there's a double border between those templates.

I want to make it the same as seen with the templates at the bottom of this page:

http://godfather.wikia.com/wiki/Commission

Anyone who can help me with this? --Sonny Black(Talk) 16:30, September 8, 2012 (UTC)