user1184100 user1184100 - 6 months ago 57
HTML Question

How to align td elements in center

I have created a simple table and want to align the td elements in center but align:center in css doesn't seem to work

.cTable td{

<table border='1' id='mytable' class="cTable">
<tr><th>Claim ID</th><th>Status</th></tr>
<tr><td align="center">22</td><td>333</td></tr>


It should be text-align, not align