Re: Table Alignment

by "Steven Antonio" <santonio(at)delanet.com>

 Date:  Sat, 18 Mar 2000 17:54:25 -0500
 To:  "hwg-basics" <hwg-basics(at)hwg.org>
 References:  freeserve
  todo: View Thread, Original
Hi Bill,

It wasn't an obvious problem, so being the curious person I am, it became an
puzzle that I wanted solve.

Netscape apparently doesn't want to center the table if you also specify the
width. I removed the table width attribute and the table instantly centered.
Then a new problem arose. Any cells that you didn't have data in were
dropped past the point were your text ended in your tablebody section. This
is because with some browsers, you can't leave a table data cell empty. So
to overcome that problem, I filled your empty table data cells each with a
"&nbsp;".  By all rights the second problem should've been seen from the get
go, I have no idea why it was masked by the first problem.

As a side note, the base element at the top of your source should go inside
the head element. Finally, FYI- The "bordercolorlight" and "bordercolordark"
elements are not valid HTML. Getting rid of these elements seemed to have no
affect on the appearance of your page.

Give a shout if you have any questions,
Steve
santonio(at)delanet.com

----- Original Message -----
From: "Billy O'Connor" <billy(at)kennet1.freeserve.co.uk>
To: <hwg-basics(at)hwg.org>
Sent: Saturday, March 18, 2000 3:29 PM
Subject: Table Alignment


> Hi All,
>
> I've been trying to figure what's wrong with a page I put together, and
> cannot see where I am going wrong. May I just need a break from it and
come
> back fresh, but could someone please take a look at:
>
> http://www.fish-on-line.net/
>
> and tell me why the table doesn't align centre in Netscape ? Everything is
> fine in IE, as always...
>
> Thanks for any help.
>
> Regards,
>
> Bill.
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Linux is like a wigwam - no windows, no gates, apache inside!
>

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