Freepages-Help-L Archives

Archiver > Freepages-Help > 2006-03 > 1142071877


From: Rod Dav4is <>
Subject: Re: [FreeHelp] centering tables
Date: Sat, 11 Mar 2006 05:11:17 -0500
References: <200603110104.k2B14I8I014017@lists2.rootsweb.com><003401c644c2$6c4da590$4501a8c0@PCCHRISTI>
In-Reply-To: <003401c644c2$6c4da590$4501a8c0@PCCHRISTI>


Christi,
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:

*

The deprecated
<http://www.htmlhelp.com/reference/html40/deprecated.html>; ALIGN
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
<http://www.htmlhelp.com/reference/html40/block/center.html>; element.

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.

-R.

wrote:

> 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?
>
> Christi
>

--
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+
Annex: http://www.gencircles.com/users/dav4is/
email:
"There are three kinds of lies: Lies, Damn Lies, and Statistics."
-Benjamin Disraeli



This thread: