[thelist] Is there a tag that will center a fixed sized table both horizontally an vertically on a page?

Joshua OIson joshua at alphashop.net
Tue Feb 6 20:34:31 CST 2001


Candace,

In order to center something horizontally and vertically you will need to
embed tables if you do not want to use style sheets...

<table height="100%" width="100%">
  <tr>
    <td align="middle">
      <table width="100" height="100" bgcolor="silver">
        <tr><td>Test</td></tr>
      </table>
    </td>
  </tr>
</table>

Good luck,
-joshua

You wrote:

> Is there a way to center a fixed sized table both horizontally an
> vertically on a page?






More information about the thelist mailing list