Centering a Flash movie using HTML tables

The easiest way I have found to center a SWF both vertically and horizontally in HTML is using tables.

  1.  
  2. <table width="100%" height="100%" border="0">
  3. <tr>
  4. <td valign="middle" align="center">
  5.  

...

  1.  
  2. </td>
  3. </tr>
  4. </table>
  5.  

Leave a Reply