Answers for "centering a table in css"

0

align table in middle of page

table#yourTable {
    position: fixed;
    left: 50%;
    top: 50%;
    margin: -(H/2)px -(W/2)px;
    width: Wpx;
    height: Hpx;
}
Posted by: Guest on August-29-2020
0

how to place a table in center in css

.center {
  margin-left: auto;
  margin-right: auto;
}
Posted by: Guest on October-25-2020

Browse Popular Code Answers by Language