Custom CSS Class for tables
-
So I have created custom css code to center the image, remove lines, etc. for a table.
.tablepress-id-22 img { margin: 0 auto; } .tablepress-id-22, .tablepress-id-22 tr, .tablepress-id-22 tbody td, .tablepress-id-22 thead th, .tablepress-id-22 tfoot th { border: none; }
Instead of doing this for each table, I want to create a generic css class and use it for multiple table.
I am new to css. Can someone please provide some step-by-step directions?
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Custom CSS Class for tables’ is closed to new replies.