The Difference Between

What is is difference between cellspaging cellpadding?


Wiki User

Cellpadding adds space all around a table cell - so if you set cellpadding to 2 pixels, you're adding 4 pixels between the data in neighboring cells. But cellspacing controls the space between the cells, so specifying 2 will add just two pixels between the cells.