PHP Code:
echo "<tr class='row";
echo 
$rowclass;
echo 
"' align='center' valign='middle'>";
echo 
"<td width='250' height='22' valign='middle' align='left'>";
echo 
$row['Name'];
echo 
"</td>";
echo 
"<td width='250' height='22' valign='middle' align='left'>";
echo 
$row['Treatment'];
echo 
"</td>";
echo 
"<td width='50' height='22' valign='middle' align='center'>";
echo 
$row['OnDate'];
echo 
"</td>";
echo 
"<td width='50' height='22' valign='middle' align='center'>";
echo 
$row['DueDate'];
echo 
"</td>";
echo 
"</tr>"
I cannot seem to align the final two <td> cells. I can align the "Name" and "Treatment" cells any way I want, but the "OnDate" and "DueDate" will not center align no matter what. I've tried using CSS and calling the class and I've tried align="center" with no go.

Any ideas? FYI: The table has no CSS attached to it.


Also: Edit: It passes 100% XHTML validation through W3C and works in Firefox but not in IE. You can view the page at http://test.perpetualdesigns.net.