---
title: "Style table rows"
canonical: "https://support.appfire.com/space/SUPPORT/89137927/Style%20table%20rows"
format: markdown
---
# <span style="color: #000000">Overview</span>

<span style="color: #000000">This page outlines an example of how to style table rows using the</span> [CSV Table macro](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74813743/CSV+Macro+-+8.x)<span style="color: #000000">,</span> [Table Plus macro](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74812918/Table+Plus+Macro+-+8.x)<span style="color: #000000">, or</span> [Attachment Table macro](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74813451/Attachment+Table+Macro+-+8.x)<span style="color: #000000">, which are part of the</span> [Advanced Tables for Confluence](https://appfire.atlassian.net/wiki/spaces/TBL/overview) <span style="color: #000000">app.</span>

<span style="color: #000000">Since </span><span style="color: #000000">release 5.4</span><span style="color: #000000">, there are more capabilities to control table display characteristics. Specifically, setting the table class (default is </span>*<span style="color: #000000">confluenceTable</span>*<span style="color: #000000">), table style, and row styles. See</span> [Common table capabilities](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74813599/Common+Table+Capabilities+-+8.x) <span style="color: #000000">for more details.</span>

# <span style="color: #000000">Macro browser input</span>

## <span style="color: #000000">Select this macro</span>

|  |  |
| --- | --- |
| **<span style="color: #000000">Macro name</span>** | <span style="color: #000000">Any of the following:</span><br>- <span style="color: #000000">*Advanced Tables - CSV Table*</span>
- <span style="color: #000000">*Advanced Tables - Table Plus*</span>
- <span style="color: #000000">*Advanced Tables - Attachment Table*</span> |
| **<span style="color: #000000">Macro syntax</span>** | <span style="color: #000000">Any of the following:</span><br>- <span style="color: #000000">*{csv}*</span>
- <span style="color: #000000">*{table-plus}*</span>
- <span style="color: #000000">*{attachment-table}*</span> |

## <span style="color: #000000">Parameters/values</span><span style="color: #333333"> </span>  


|  |  |
| --- | --- |
| ***<span style="color: #000000">Row formatting > Data rows > Row styles (1</span>***<br>***<span style="color: #000000">2</span>***<br>***<span style="color: #000000">3)</span>*** | *<span style="color: #000000">-</span>*<br>*<span style="color: #000000">font-size: 1.5em; font-style:italic; background:lightyellow;</span>*<br>*<span style="color: #000000">font-size: 0.9em; font-style:italic; background:lightblue</span>* |

> ✅ <span style="color: #000000">A blank style is what causes the normal Confluence behavior for the first data row.</span>

### <span style="color: #000000">Screenshot</span>

![image](media://c4db08e3-ffc3-4f70-86c4-c9425dd9368b)

# <span style="color: #000000">Wiki markup input</span>

<span style="color: #000000">For a table built using the</span> [CSV macro](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74813743/CSV+Macro+-+8.x)<span style="color: #000000">:</span>

```plaintext
{csv:autoNumber=true|rowStyles=font-size: 1.5em; font-style:italic;,, background:lightyellow, background:lightblue,}

        Month, Max, Min, Avg
        January,  25.5,  6.3, 15.9
        February, 32.4, 12.8, 22.6
        March,    44.6, 24.5, 34.6
        April,    59.7, 37.1, 48.4
        May,      72.5, 48.7, 60.6
        June,     81.3, 57.9, 69.6
        July,     85.2, 62.8, 74.0
        August,   82.5, 60.7, 71.6
        September,73.7, 51.7, 62.7
        October,  61.1, 40.1, 50.6
        November, 43.6, 27.4, 35.5
        December, 29.9, 13.6, 21.8  
{csv} 
```

# <span style="color: #000000">Example result</span>

![image](media://dc4b56a6-4fbc-4690-9294-f7ebe805bbe5)


> ℹ️ > Macro (legacy-content)
> ℹ️ 
> ℹ️ > Macro (style)

# <span style="color: #000000">Other examples</span>

<span style="color: #000000">Visit our</span> [full list of product examples](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74812597/Product+Examples) <span style="color: #000000">for additional inspiration!</span>