Help with table
-
Hi Tobias,
Can you please help me out with the following table?
Image: https://imgur.com/a/zqYbX5v
Code that I used:
.tablepress-id-15 .column-1, .tablepress-id-15 .column-2, .tablepress-id-15 .column-3, .tablepress-id-15 .column-4 { width: 25%; } .tablepress-id-15 tbody td { text-align: center; vertical-align: middle; } .tablepress-id-15 .row-6 td { text-align: left; } .tablepress-id-15 .column-1 td { text-align: left; } .tablepress-id-15 row-1 td { text-align: center; }
In relation to the image:
For (1): Why can’t I seem to center align the text in the header row?
For (2): The background colour by default alternates between grey and white. Is it possible to make all non-header rows white and instead insert lines like what I showed in the table? Because some rows and columns are merged, the alternating white and grey colors look confusing.
For (3): I can’t seem to get the text in the first column to left align. May I know why this is so?
Thank you!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Help with table’ is closed to new replies.