---
title: "Styling Table Rows"
canonical: "https://support.appfire.com/space/TBL/74815116/Styling%20Table%20Rows"
format: markdown
---
> Macro (div)
> 
> ### On this page
> 
> > Macro (toc)

# Overview

This page outlines an example of how to style table rows using the [CSV macro](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74815945), [Table Plus macro](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74815966), or [Attachment Table macro](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74814506), which are part of the [Advanced Tables for Confluence](https://appfire.atlassian.net/wiki/spaces/TBL/overview) add-on.

Since release 5.4, there are more capabilities to control table display characteristics. Specifically, setting the table class (default is **confluenceTable**), table style, and row styles. See [Common Table Capabilities](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74815958) for more details.

# Macro Browser Input

### <span style="color: #333333">Select this Macro</span>

|  |  |
| --- | --- |
| *Macro Name* | Any of the following:<br>- CSV (Comma Separated Values)
- Table Plus
- Attachment Table |
| *Macro Syntax* | Any of the following:<br>- {csv}
- {table-plus}
- {attachment-table} |

### <span style="color: #333333">Define these Parameters/Values</span><span style="color: #333333"> </span>  


|  |  |
| --- | --- |
| *Table row styles* | `font-size: 1.5em; font-style:italic;,, background:lightyellow, background:lightblue,` |

> ✅ A blank style (notice the 2 commas in a row) is what causes the normal Confluence behavior for the first data row.

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

![image](media://80dc893f-32b4-4bde-9ace-2492a104e571)

 

# Wiki Markup Input

For a table built using the [CSV macro](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74815945):

```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} 
```

 

# Example Result

![image](media://1fb584a5-4217-4249-a8c4-05d1a187222e)

 

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

 

# Other Examples

Visit our [full list of product examples](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74815984) for additional inspiration!