user1184100 user1184100 - 1 year ago 141
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>

Answer Source

It should be text-align, not align

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download