center text in a table cell html code example
Example 1: css center in td
td
{
text-align: center;
vertical-align: middle;
}
Example 2: table td data in middle
vertical-align: middle
td
{
text-align: center;
vertical-align: middle;
}
vertical-align: middle