Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Div
idProductTOC

On this page

Table of Contents
maxLevel1
excludeOn this page
typeflat
separatorpipe

...

Since release 6.4, there is now another option for column styling with the columnStyles parameter. It defines column level CSS at the HTML column level where as the columnAttributes parameter works at the element level and provides more than CSS styling capabilities. columnStyles can be easier to use and is recommended for most use cases. However, it does not cover every use case that is available with the columnAttributes parameter. 

Macro Browser Input

Select this Macro

Macro Name

Any of the following:

  • CSV (Comma Separated Values)
  • Table Plus
  • Attachment Table
Macro Syntax

Any of the following:

  • {csv}
  • {table-plus}
  • {attachment-table}

Define these Parameters/Values 

Each column can be styled by setting the style attribute. For example setting the columnAttributes parameter to:


No Format
style="border:0;background:lightgrey;",style="border:0;background:lightyellow;",style="border:0;background:lightgreen;"


Screenshot

Image RemovedImage Added


Wiki Markup Input

...

Panel
bgColor#fafcd0


Div
stylepadding: 30px 15px 25px 25px; margin-bottom: 25px !important;
classmontage

Styling guide

Image Added

The table styling shown in this example utilizes the common table capabilities of several Bob Swift Atlassian add-ons including TBL, SQL, and others.

For creative inspiration when styling your own Confluence Tables (including live examples) visit our Styling Guide for Tables.


Style
.montage img {padding-bottom: 25px !important;}


...