Check out example codes for "how to center a table in html". It will help you in understanding the concepts better.

Code Example 1

.centerTable { margin: 0px auto; }

Code Example 2

<table align="center">

Code Example 3

<table style="border:1px solid black;margin-left:auto;margin-right:auto;">

Code Example 4

table#yourTable {
    position: fixed;
    left: 50%;
    top: 50%;
    margin: -(H/2)px -(W/2)px;
    width: Wpx;
    height: Hpx;
}

Learn ReactJs, React Native from akashmittal.com