Fix to border-collapse issue

Here is a fix to the border-collapse issue.  It works when all th elements have the same border on it, which I would bet fits most situations.