title: Easiest way to align text in a table cell
body: <p>I know very little html and pretty much no css. I would like to know the easiest way for me to change my left aligned text to center aligned within the cells. Someone on stackoverflow helped me to figure out how to center a table on my wordpress page with the following code:</p>
  
  <pre><code>&lt;div style="text-align: center;"&gt;
      &lt;table style="margin: 0px auto;" border="0"&gt;
          &lt;table border="0"&gt;
              &lt;tbody&gt;
                  &lt;tr&gt;
                      &lt;td&gt;ddd&lt;/td&gt;
                      &lt;td&gt;ddd&lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/tbody&gt;
          &lt;/table&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I now need to figure out how to center the text within the cells. I have tried using align="center" beside the td. This showed the text centered in the wordpress admin area, but on the actual webpage, the text was still left aligned. Another guy recommended I put something in my header code and link it to the something. Again, I know very little about this and would appreciate the easiest solution. Thx. </p>