Skip to main content
MindTouch Success Center

Table cell padding

You can change the cell padding of your tables site-wide with CSS.
  1. Navigate to Site tools > Control panel > Custom Site CSS. 
  2. Add CSS to modify table padding to the All Roles CSS field.
  3. Click Save.

Example CSS to change cell padding

This example CSS modifies padding for table headers and table rows. Adjust the em values for your desired padding.

th {
  padding: .5em 1em;
}
td {
  padding: 1em;
}
  • Was this article helpful?