In my css I use:
body {
font-weight: 300;
direction: rtl;
margin: 0;
}
Also in html I use:
<body dir="rtl">
I have a table bootstrap table like this:
<table align="center" class="table table-striped table-responsive-sm table-bordered">
<tbody>
<tr>
<td style="width: 25%">کد عضویت</td>
<td>426075</td>
</tr>
<tr>
<td>نام</td>
<td>سوسن</td>
</tr>
</tbody>
</table>
But all my writings are still left aligned instead of right aligned, regardless I used rtl. A full source codepen and page view is at: https://codepen.io/joehark/pen/yLLeyoG
What mistake I did and how to right aligned my table writings? Do I still need class="text-justify" within each <td>? If yes, what is the purpose of that rtl setting at all?