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)


 * You would have to make them overlap. I've just set the margin-bottom to -1px. That "collapses" the border. Not particularly elegant, but it works. --

Seems to be a good solution. Didn't know that -1 works with margins. Thanks. --Sonny Black(Talk) 21:04, September 8, 2012 (UTC)