RE: Browser displays

by "Kapterian, Sophia (E-mail)" <digitek(at)cytanet.com.cy>

 Date:  Fri, 19 Mar 2004 09:04:03 +0200
 To:  "'Bridgett Schneider'" <bridgett(at)maddoc.net>,
<hwg-basics(at)hwg.org>
 In-Reply-To:  maddoc
  todo: View Thread, Original
Bridgett Schneider wrote:

<< An example can be seen at
<< http://www.genealogyforyou.com/surnames/bible/cemetery/tennessee4.html
<<
<< Can someone provide for me an "easy" fix so the tables will be shown
<< centered in all browsers? (I have 100's of pages coded this way ::sigh::)

Hi Bridgett,

Since you have expressed the width of your table at 80%; you can include the
following and the table will adjust and center in Opera and Mozilla.  The
text-align: center; will center the contents of the tds otherwise they will
shift to the left.

table {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	}

HTH
Sophia Kapterian

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