title: how to center a title in a table cell
body: <p>how to center the </p>
  
  <p>I would like to center the text "Information". Tried the align="center" but didn't work </p>
  
  <p>Is my code correct?</p>
  
  <pre><code>&lt;table border="1" width="100%" cellspacing="10"&gt;
  &lt;tr&gt;
      &lt;th&gt;column1&lt;/th&gt;
      &lt;th&gt;column2&lt;/th&gt;
      &lt;th bgcolor="#4F81BD"&gt;&lt;strong&gt;&lt;font size="5" color="white" face="calibri" align="center"&gt;Information&lt;/font&gt;&lt;strong&gt;&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <hr>
  
  <p>[EDIT] Here is the code I have built thanks to your answsers.  </p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  
  &lt;head&gt;
  
  &lt;title&gt;Title&lt;/title&gt;
  
  &lt;style type="text/css"&gt;
  .centerText{
         text-align: center;}
  &lt;/style&gt;
  
  &lt;/head&gt;
  &lt;table border="0" width="100%" cellspacing="10"&gt;
  &lt;tr&gt;
      &lt;th&gt;&lt;/th&gt;
      &lt;th&gt;&lt;/th&gt;
      &lt;th class="centerText" bgcolor="#4F81BD"&gt;&lt;strong&gt;&lt;font size="5" color="white" face="calibri" &gt;Information&lt;/font&gt;&lt;strong&gt;&lt;/th&gt;
    &lt;/tr&gt;
      &lt;/table&gt;
      &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>
  
  <p>Is this the right way to handle this?</p>