Table Cell Padding

Cell padding is the space between the edges of the cell and the cell's contents. Cell padding by default is 1. CELLPADDING is added to the <TABLE> tag.

In this table the cellpadding=5.
<TABLE CELLPADDING=5>

Lunch Favorites
Grade Pizza Hamburger Spaghetti
Grade 4 15 5 5
Grade 5 13 9 6
Grade 6 10 11 5

In this table cellpadding=15.

Lunch Favorites
Grade Pizza Hamburger Spaghetti
Grade 4 15 5 5
Grade 5 13 9 6
Grade 6 10 11 5


Search The Global Classroom
Patricia A. Weeg
pweeg@shore.intercom.net
Return to Global Classroom