To manage cellpadding=0 and cellspacing=0 using css we will need to set two css properties. In table css class we will set border-collapse: collapse and in th/ td class we will need to set margin and spacing of td to zero.
D365, Power Platform, O365, Azure and more