HTML5 took away a lot of the TD/TR properties like align, width, etc. and recommends you use CSS to style tables now, so that's what I'm trying to do.
I have the following in my CSS file:
Code: Select all
td.test {
text-align: right;
width: 200px;
border: 1px solid #336699;
}
Code: Select all
<td class="test"><?php echo $row->racename; ?></td>
How do you set table cell widths in HTML5?