On the Styles tab, you can define how tables will be formatted in your exports. 

Apply table styles 

In the Tables section of the template editor panel, you can define the default styling for the tables in your Confluence pages.

When you export Confluence content, it will be styled in accordance with the styles configured on this screen. For example, if you change the background color to red for table body cells, all corresponding cells will display a red background when exported from Confluence:

The inbuilt template editor contains a Preview section which offers a live view for your chosen styling choices – these automatically appear as you make edits.

Modify styles

Default table styles can be modified in a number of ways – you can change the following properties:

CategoryPropertyDescription
GeneralMargin (pt)
  • Determine the margins in point units (pt) around the table
Header Cells
  • When chosen, all style/format changes will be applied to cells for the table header
Body Cells
  • When chosen, all style/format changes will be applied to cells for the table body
ContentVertical alignment
  • Define the vertical alignment setting for the content in the table cell
    • Alignment options include; Top, Centered, or Bottom
Overwrite style of
  • Define whether Paragraphs styles contained within a table are overwritten with a different style to that already defined in the template
    • New styles can be defined for Paragraphs, Numbered Lists and Bulleted Lists
Font
  • Choose a font for the style from either one of the bundled fonts, or add a custom font
Style
  • Define a font style
    • Styles include; Light/Regular/Bold, plus Italics and Underlined
Size (pt)
  • Select the font size in point units (pt)
Line height (%)
  • Set the line height percentage for text in table cells
Color
  • Choose the color of your font
    • #HEX, RGB and HSL Color codes are supported
Case
  • Decide whether the text style is Capitalised, UPPERCASE or lowercase
CellsPadding
  • Determine the amount of padding in points unit (pt) for the table cell
Background color
  • Choose the background color for the table cell
    • #HEX, RGB and HSL Color codes are supported
BorderHorizontal / Vertical
  • Style table borders for the specified direction
Type
  • Select the border style for the table cell
    • Styles include; Solids, Dotted or Dashed
Strength (pt)
  • Define the strength of the border style in point units (pt)
Border color
  • Choose the border color for the table cell
    • #HEX, RGB and HSL Color codes are supported

Next steps

Now you have styled your tables, you can define the structure of your template – and fine-tune the design – on the 'Document Sections' tab.