W3C home > Mailing lists > Public > www-validator@w3.org > September 2002

RE: align="center"

From: Ian Anderson <ianderso@cogeco.ca>
Date: Thu, 19 Sep 2002 12:56:00 -0400
To: "'Gannon J. Dick'" <gdick@verizon.net>
Cc: <www-validator@w3.org>
Message-ID: <000a01c25ffd$6ee10340$0101a8c0@enoch>
Technically the text-align behaviour that this document relies on is
incorrect (at least from what I've read). Text align is only supposed to
affect text, not images or tables. I believe the preferred method (which
doesn't work in Internet Explorer) is to set the left and right margins
to auto.

-----Original Message-----
From: www-validator-request@w3.org [mailto:www-validator-request@w3.org]
On Behalf Of Gannon J. Dick
Sent: September 19, 2002 10:28 AM
To: www-validator@w3.org
Subject: Re: align="center"

<?xml version="1.0" encoding="utf-8" ?>
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
 <div style="text-align:center">
     <tr><td>some text</td></tr>

----- Original Message ----- 
From: bronco <mailto:bronco@cwo.com>  
To: www-validator@w3.org 
Sent: Thursday, September 19, 2002 12:11 AM
Subject: Re: align="center"

so, what can one use to replace align="center" with <div>.  The notes
that I see say to use styles instead, but so far have offered no
it may be a simple technique, but I haven't found one yet.  let's say I
want to replace this with <div>
<table align="center">
  <tr><td>some text</td></tr>
what would it look like?
Received on Thursday, 19 September 2002 12:56:05 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:34 UTC