Answers for "Set table cellpadding and cellspacing in CSS"

CSS
3

Set table cellpadding and cellspacing in CSS

td { 
    padding: 10px;  /* cellpadding */
}

table { 
    border-spacing: 10px;   /* cell spacing */
    border-collapse: separate;
}
Posted by: Guest on July-06-2020

Browse Popular Code Answers by Language