Highlight the background color of table merge cells (merge left and right, merge up and down) in tiddlers?

I would start the table with:

|tc-center tc-max-width-80 tc-max-width|k
| | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |h

I would go with styles like this:

.evenRow {
  background: #eeeeee;
}

[colspan="2"] {
  background: lightgreen;
}

[colspan="3"] {
  background: lightyellow;
}

[colspan="4"] {
  background: lightcyan;
}

[rowspan="2"] {
  background: lightcoral;
}

table-colspan-styles.json (2.9 KB)

For rowspan you can use

[rowspan="2"] {
  background: lightcoral;
}