html cellpadding vs cellspacing code example
Example: Set table cellpadding and cellspacing in CSS
td {
padding: 10px; /* cellpadding */
}
table {
border-spacing: 10px; /* cell spacing */
border-collapse: separate;
}
td {
padding: 10px; /* cellpadding */
}
table {
border-spacing: 10px; /* cell spacing */
border-collapse: separate;
}