I am using the below code in my style compose code to make first column data of the HTML table and it is working fine, it brings the correct formatting in my email.
#table2 td:first-child {
text-align: right;
}
But when I try the below to apply for the 3rd column, it has no error and no impact of code, it remains as it is - no changes can be seen for the column:
#table2 td:nth-child(3)
{
text-align: right;
}
Is there is other way to write to impact the third row data.
Please advise