TablePress: Background color not applied to entire rowspan cell
-
Hello,
I’m using TablePress on WordPress and I’m trying to create a cell with a #rowspan# that has a specific background color.
The #rowspan# itself works correctly, but the style (
background-color) is applied only to the first (top) cell of the #rowspan#, not to the entire merged area.Here is what I’ve tried :
-in In the top cell:
<span class="atelier-important">Atelier A</span>or
<div class="atelier-important">Atelier A</div>-in the cells below:
#rowspan#-in the css:
.atelier-important {
background-color: #ffeb3b;
display: block;
height: 100%;
width: 100%;
padding: 6px;
}And my result is:
- the #rowspan# is correctly applied
- but the background color only appears in the top cell, not across all rows covered by the #rowspan#
Thanks in advance for your help.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.