This table is centered on the page. There are various ways to center a table on the page, but the correct way, one that should work in all browsers is to make sure that the left and right margins are equal using "margin-left:auto" and "margin-right:auto" in the CSS style for the table. In addition, because Internet Explorer is not compliant with CSS2, we also have to set the text-align property of the enclosing element to "text-align:center".
Country | Population Estimate |
---|---|
People's Republic of China | 1,337,960,000 |
India | 1,181,854,000 |
United States | 309,449,000 |
Indonesia | 231,369,500 |