Search the Whole World Here.,.,

HTML Table - Adding Cell Padding


Cell padding specifies the space between the cell content and its borders.

If you do not specify a padding, the table cells will be displayed without padding.

To set the padding, use the CSS padding property:

Example

th, td {
    padding: 15px;
}
Try it Yourself »


EmoticonEmoticon