How can I give an “id” to a connected cell?
-
Hi Tobias,
I have a table showing range of things(rows) apply to categories (columns).
And I have a lot of cells connected vertically and holizontally.As new thing come up, I have to insert a row to add the thing. So .row-# will change all the time. But I would like to apply color to specific thing by using custom css. Even after I inserted a thing(row) as rows are shifted, I would like to keep the css pointing to the right thing. So I would like to add an “id” to each connected cell.
How can I do that?I can’t use below
tablepress-id-# .column-1 .row-1I would like to use
tablepress-id-# .idWhen I use <p> in the cell which holds the contents and try to apply backgroupd-color,it just change the background-color only at the line where the texts are. THe outside of the text inside of cell area remain the different color from what is specified as background color. Because it belongs to the td. Hope this is possible.
I would appreciate if you can help me on this.
- The topic ‘How can I give an “id” to a connected cell?’ is closed to new replies.