border-collapse property must be set to collapse. border-collapse controls whether cells (<td> elements?) inside a <table> share their borders with the adjacent cell or if the borders are drawn separately. margin and padding properties. 1px transparent) prevents margin collapsing.