Align In <col> Doesn't Seem To Work

Posted by topdog 813 days ago Questions| doesn work align All
I'm trying to create a table with different alignments on each column in XHTML, but the alignment doesn't seem to work in IE8 (haven't tried others yet). I've just tried the code from the W3C Schools tutorial example and that doesn't work either. What am I missing?

CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Title of the document</title>
</head>

<body>
<table width="100%" border="1">
  <col align="left" />
  <col align="center" />
  <col align="right" />
  <tr>
    <th>ISBN</th>
    <th>Title</th>
    <th>Price</th>
  </tr>
  <tr>
    <td>3476896</td>
    <td>My first HTML</td>
    <td>$53</td>
  </tr>
</table>
</body>

</html>
Discuss Bury


Who Voted for this Question