Set table cellpadding and cellspacing in CSS
td {
padding: 10px; /* cellpadding */
}
table {
border-spacing: 10px; /* cell spacing */
border-collapse: separate;
}
Set table cellpadding and cellspacing in CSS
td {
padding: 10px; /* cellpadding */
}
table {
border-spacing: 10px; /* cell spacing */
border-collapse: separate;
}
Set cellpadding and cellspacing in CSS?
For controlling "cellpadding" in CSS, you can simply use padding on table cells. E.g. for 10px of "cellpadding":
td {
padding: 10px;
}
For "cellspacing", you can apply the border-spacing CSS property to your table. E.g. for 10px of "cellspacing":
table {
border-spacing: 10px;
border-collapse: separate;
}
This property will eve
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us