Multiple Table Code
-
Hi
I need to create multiple tables. Is there a quick way to reference all tables ie table 1 to 50 without having new code for each table ? An all encompassing simple easy code instead of:.tablepress-id-2 tbody td {
color: #000000;
}.tablepress thead th,
.tablepress tfoot th {
background-color: #ff6600;
}.tablepress-id-2 {
width: auto;
margin: 0 auto 1em;
}.tablepress-id-2 .column-2 {
text-align: center;
}.tablepress-id-3 tbody td {
color: #000000;
}.tablepress thead th,
.tablepress tfoot th {
background-color: #ff6600;
}.tablepress-id-3 {
width: auto;
margin: 0 auto 1em;
}.tablepress-id-3 .column-2 {
text-align: center;
}.tablepress-id-4 tbody td {
color: #000000;
}.tablepress thead th,
.tablepress tfoot th {
background-color: #ff6600;
}.tablepress-id-4 {
width: auto;
margin: 0 auto 1em;
}.tablepress-id-4 .column-2 {
text-align: center;
}etc etc
Thanks
The topic ‘Multiple Table Code’ is closed to new replies.