Centering a Table:
in the <table> 
  tag insert a align=center attribute.
  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html>
  <head>
  <title>Pony Pony Pony</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  </head>
  <body>
  <table align="center" width="60%" border=3> 
  
  <tr>
  <td width="40%"> <img src="pony.gif" /></td>
  <td> The pony is next to me.</td>
  </tr>
  <tr>
  <td>Here is a picture of my pony in a table.</td>
  <td> </td>
  <!--Put 
  in a   in any cell that is empty or your table may not display properly--> 
  
  </tr>
  </table>
   
<table align="right" 
  width=320 border=3>
  <tr>
  <td width=320> <img src="pony2.gif"></td>
  </tr>
  <tr>
  <td>Here is another picture of my pony in a table.</td>
  </tr>
  </table> 
  </body>
  </html>