Answers for "html table width cellpadding"

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
2

html table cell full width

<tr>
  <td colspan="5">This text should be as long as the entire table's width...</td>
</tr>
Posted by: Guest on May-20-2021

Browse Popular Code Answers by Language