The space that you are seeing is due to the border-spacing property that is set on the table. That can be avoided by removing the border-spacing and adding border-collapse: collapseto table like in the below snippet.