This article explains how to highlight a single cell, when the mouse hovers over the cell, in a table created using Advanced Tables for Confluence. There are two ways to accomplish this:
...
- Log into your Confluence instance as an administrator.
Navigate to any existing page and clickAnchor kb_cellHighlight_cssStylesheetStep2 kb_cellHighlight_cssStylesheetStep2 - Insert Advanced Table -Table Plus macro. As an example, create a table as shown below:
Edit the macro and add the following Column attribute under Column settings in the Advanced Tables Editor-Table Plus screen:
Code Block theme Midnight class=confluenceTd cellhover
Go to Space Tools > Look and Feel > Stylesheet and enter the following CSS code:
Click Save.
Code Block theme Midnight td.cellhover:hover{ background-color:lightblue; }
Click Save.
Open the relevant Confluence page and hover the mouse over a cell. The cell is highlighted in the specified color.
...
- Log into your Confluence instance and follow Step 2 to 4 from the instructions above.
Include the HTML macro and add the CSS code in the macro as follows:
Code Block theme Midnight td.cellhover:hover{ background-color:lightblue; }
- Click Save.
Open the relevant Confluence page and hover the mouse over a cell. The cell is displayed as shown below:
...