
 Alexandre Sinício - 2017-08-29 11:11:00 - 
In reply to message 11 from Csík CsabaI'll assume you are already OK constructing the table using this class.
In that case, let's consider you have multiple tables, each one with an unique identifier:
FIRST TABLE
<table id='table1'>
<tr>........</tr>
<tr>........</tr>
</table>
SECOND TABLE
<table id='table2'>
<tr>........</tr>
<tr>........</tr>
</table>
Then, just use CSS. Something like this:
//ALL CELLS FROM EVEN ROWS OF TABLE1 > ALIGN TEXT RIGHT
#table1 tr:nth-child(even) td {
text-align: right;
}
//ALL CELLS FROM ODD ROWS OF TABLE2 > ALIGN TEXT CENTER
#table2 tr:nth-child(odd) td {
text-align: center;
}