Centering Issue
-
Hi! I have a table that I need centered on the page. I have it centered, but it seems to be centered on the entire page, ignoring that there is a sidebar to the right. I need the table centered in the content area to the left of the sidebar. If you compress the page to check the responsiveness, you will see the sidebar covers up the table at one point. How can I adjust this, while keeping the column centered and as well as set to the fixed width? Here is my test page and the css is below:
thanks!My test page:
https://morrisanimalhospital.com/wpdev/test/
My css (includes css for main tables if that helps):
.entry table { border: 1px solid #eee; margin: 0 0 15px 0; text-align: left; width: 100%; }
.entry tr th, .entry thead th { color: #555; font-weight: bold; padding: 9px 24px; }
.entry tr td { border-top: 1px solid #eee; padding: 6px 24px; }.tablepress-id-1,
.tablepress-id-1 tr,
.tablepress-id-1 tbody td,
.tablepress-id-1 thead th,
.tablepress-id-1 tfoot th {
border: none!important;
width: 700px!important;
}
- The topic ‘Centering Issue’ is closed to new replies.