I have an oveflowing table and I cannot center the heading following the width of the overflowing table.
Here’s how it is viewed when print previewed:
Notice that the headers are not centered. When previewed normally, the page looks like this:
I noticed that the center alignment just followed how it is seen on screen. How can I center the heading in this page?
By the way, here’s my css:
the text UNIVERSITY OF THE EAST etc.
.header {
width: 100%;
margin: 0 auto;
height: auto;
}
the grades table:
table.grades {
border-collapse:collapse;
border: #000 solid 1px;
font:Arial, Helvetica, sans-serif;
font-size: 14px;
margin: 0 auto;
overflow-x: visible;
display: inline;
}
1 Answer