Freepages-Help-L ArchivesArchiver > Freepages-Help > 2006-03 > 1142071877
From: Rod Dav4is <>
Subject: Re: [FreeHelp] centering tables
Date: Sat, 11 Mar 2006 05:11:17 -0500
Here is what the WDG
<http://www.htmlhelp.com/reference/html40/tables/table.html> has to say
about the TABLE ALIGN attribute, which I assume that you are using:
attribute suggests the horizontal alignment of the table on visual
browsers. Possible values are left, right, and center. Browsers
generally present left- or right-aligned tables as floating
tables, with the content following the TABLE flowing around it. To
prevent content from flowing around the table, use <BR CLEAR=all>
after the end of the TABLE.
Since many browsers do not support ALIGN=center with TABLE,
authors may wish to place the TABLE within a CENTER
Style sheets <http://www.htmlhelp.com/reference/css/> provide more
flexibility in suggesting table alignment but with less browser
support than the ALIGN attribute.
I have found the WDG <http://www.htmlhelp.com/> pages very useful
for HTML and CSS reference.
> I have a table on my site. And in the scripting it says it is center,
> however as I view it - it appears to list to the left. If I add a
> border I can get it to be center. What is the correct scripting to
> center it?
Regards, Rod Dav4is / P.O. Box 118 / Hyde Park, NY 12538 / USA
Genealogy, et Cetera: http://freepages.rootsweb.com/~dav4is/
435 ancestral & collateral families, mostly 17°-19° century
New England & European roots. Total population: 104,300+
"There are three kinds of lies: Lies, Damn Lies, and Statistics."