changing multiple columns and rows
-
Is there a way to change multiple rows and columns using 1 line of CSS instead of using one for each cell itself?
If I use something like (Just an example)
.tablepress-id-1 .row-1 .column-1{ text-align: center; width: 150px; font-size: 20px; color: #ffffff; background-color: gray; border: 1px solid black; width: 250px; opacity:0.8; filter:alpha(opacity=60); }
This only does 1 cell, how can I do more than 1 cell without having to put the same thing multiple times?
.tablepress-id-1 .row-2 .column-1{ text-align: center; width: 150px; font-size: 20px; color: #ffffff; background-color: gray; border: 1px solid black; width: 250px; opacity:0.8; filter:alpha(opacity=60); }
Does the 2nd cell down, and so on and so on.
I have 3 Columns and 8 rows, so that’s 24 blocks of CSS code I have to type out for each cell. How can I do that with fewer blocks of CSS code?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘changing multiple columns and rows’ is closed to new replies.