Centring Table and Colum widths
-
I have tried very hard to adjust the width of my columns and centre the table on my first attempt at a TablePress Table as below but always the table shows on the left hand side of the page.
This code in the Additional CSS
.tablepress-id-1 .column-1,
.tablepress-id-1 .column-2,
.tablepress-id-1 .column-3,
.tablepress-id-1 .column-4 {
width: 100px;
}.tablepress-id-1 thead th {
font-family: Tahoma;
font-size: 14px;
font-weight: bold;
color: #005580;
}.tablepress-id-1 tbody td {
font-family: Tahoma;
font-size: 14px;
font-weight: bold;
color: #1a1a1a;
}.tablepress-id-1 {
width: auto;
margin: 0 auto 1em;
}
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Centring Table and Colum widths’ is closed to new replies.