Setting different classes of table column width?
-
Sorry of the title of the post is bad.
I have 6 tables.
Table 1 is small, and the columns are 33/33/33 each
Tables 2-6 are much larger and the column widths are 45/25/20/10
How I can set it to where the width of 45/25/20/10 is the default for all tables and make the width of table 1 the exception?
.tablepress-id-1 .column-1 { width: 33%; } .tablepress-id-1 .column-2 { width: 33%; } .tablepress-id-1 .column-3 { width: 33%; } .tablepress-id-1 tbody td { text-align: center; } .tablepress-id-1 { width: auto; } .tablepress .column-1 { width: 45%; } .tablepress .column-2 { width: 25%; } .tablepress .column-3 { width: 20%; } .tablepress .column-4 { width: 10%; }
Even table 1 defaults to the 45/25/20/10 widths instead of the 33/33/33 I need it to be.
Is the only option to put table 2-6 tablepress-id classifier and column width specified?
Thank you
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Setting different classes of table column width?’ is closed to new replies.