Re: Center a banner in a table?

by Sandy Fields <sandy(at)sannicron.com>

 Date:  Tue, 08 Feb 2000 09:33:38 -0500
 To:  hwg-basics(at)hwg.org
 In-Reply-To:  co
  todo: View Thread, Original
At 11:38 PM 02/08/00 +1300, James M Sandbrook wrote:
>Hello all,
>I have put a banner inside a table, but I don't seem to be able
>to center the banner.
>The URL  is:
>http://ssapcs.hispeed.com/DirFile.shtm
>If you look at the left and right sides of the banner you will see that
>it is not centered.
>I have tried various things but they do not seem to work.
>Any ideas what I am doing wrong?

Here's my guess from glancing at your coding.

Your table is set to take up 100% of your screen.  In order for the banner
to be centered, the two white boxes on the left and right of the banner
must be of equal width *plus* their widths must total the difference
between the width of the banner and the 100% screen width.  I don't think
your numbers add up.  The width of the right box is greater than the weidth
of the left box. 

Reading this back to myself it sounds really convoluted; but judging from
the coding of your page, I think you'll understand what I'm trying to say. :-)

-- Sandy
Sandy Fields
Sannicron Web Design
http://www.sannicron.com

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA