Side by Side
-
Hello,
I followed your other suggestions to get tables side by side and it has worked great. For the life of me I cant figure out to align them to the center of the page. I cant give link as I am building offline. But here is my code:
.tablepress {
border: 1px solid black;
width: auto;
}.tablepress .even td {
background-color: #5F95B3;
}.tablepress .odd td {
background-color: #DBDBDB;
}.tablepress tbody td,
th {
text-align: center;
border: 1px solid black;
padding: 0;
}.tablepress-wrapper-1 {
width: 28%;
float: left;
padding-right: 10px;
}.tablepress-id-1 .row-1 {
font-weight: bold;
padding: 0;
}.tablepress-id-1 .column-1 {
padding-left: 10px;
padding-right: 10px;
}.tablepress-id-1 .column-2 {
padding-left: 10px;
padding-right: 10px;
}.tablepress-id-2 .row-1 {
font-weight: bold;
padding: 0;
}.tablepress-id-2 .column-1 {
padding-left: 10px;
padding-right: 10px;
}.tablepress-id-2 .column-2 {
padding-left: 10px;
padding-right: 10px;
}The 2 tables line up side by side and I adjusted the % to have them close with a little space but want them to also be centered as is on the page.
Thanks for any help,
M
The topic ‘Side by Side’ is closed to new replies.