Table cell formatting for plain text outputs from table
Asked by Green_ Desmond:

I've asked a similar question before, but perhaps this one is just a little different. I hope there is a good answer or workaround.

I need to use the plain text output format to gather various (numerous) items of data via table transform macros. Since this is from various, diverse sources and I need the data presented concisely, the best approach is to present it within tables. When I do so, the horizontal and vertical alignment is off and it immediately tends to look very messy!

For example, here's a simple single row example. The text is just unformatted paragraph text and the numbers are outputs from table transformer macros. It already is misaligned and looks messy, and only looks far worse as further rows and columns of similar are added.

![Table transformer text output 2.JPG](/t5/image/serverpage/image-id/302725i83B2860B10C9664B/image-size/large?v=v2&px=999 "Table transformer text output 2.JPG")

The way I'm putting such content together is as follows:

![Table transformer text output 1.JPG](/t5/image/serverpage/image-id/302726i9CF7D308A33DD4AD/image-size/large?v=v2&px=999 "Table transformer text output 1.JPG")

I don't want to concatenate the label and the data. The variable data elements are typically reusable pieces, often contained as Table Excerpt elements to easily be repeated in other pages, and sometimes pivoted across columns or rows in other tables.

Is there anything clever (and easy) I can do to align plain text outputs from table transformers within table cells, both horizontally and vertically?


Answers:
author: Stiltsoft support
body: Hi [@Green_ Desmond](/t5/user/viewprofilepage/user-id/5367657) ,

Seems that we'll have a beautiful solution for your case in one of the next releases. I've marked your question and will keep you updated.

comments: author: Stiltsoft support
body: Hi [@Green_ Desmond](/t5/user/viewprofilepage/user-id/5367657) ,

Please update the app to the 10.4.0 version if you are on Data Center/Server and for Cloud the updates will be downloaded automatically.

After the upgrade, you'll see the new "Stylesheet" tab in the Table Transformer macro.

![Fri 16-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/303732iEDC7C601CE67443F/image-size/large?v=v2&px=999 "Fri 16-1.png")

![Fri 16-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/303734i764B639AC517921E/image-size/large?v=v2&px=999 "Fri 16-2.png")

.table-wrap {  
margin-top: 0;  
margin-bottom: -10px;  
}

Now your table will look neat in a published state.

![Fri 16-3.png](https://community.atlassian.com/t5/image/serverpage/image-id/303735iFB1C163238AE8FC0/image-size/large?v=v2&px=999 "Fri 16-3.png")


author: Green_ Desmond
body: That's fabulous, only I can never be sure when my organisation will take that later version of the product!

Meanwhile, is there anything I can do to inline that CSS and effect the same, ideally at a page level, or at least at the table level? Maybe by editing the page HTML with some acceptable inline CSS?


author: Stiltsoft support
body: You may use the standard HTML-macro if is allowed for your Confluence instance:

\<style\> .table-joiner .wrapper .table-wrap { margin-top: 0; margin-bottom: -10px; } \</style\>


Tags: cloud

confluence-cloud

filter

table

table-filter

table-filter-and-charts