It's maybe 1 px longer how would I adjust it so that their equal? I think it ha s something to do with my theme.
They are equal. What you're seeing is a bit of an illusion. The tborder on the sides of the tcat also exists on the sides of the thead, but it's not as noticeable besides red.