W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2000

Re: Complain on <center>

From: Dave Raggett <dsr@w3.org>
Date: Fri, 31 Mar 2000 18:04:22 +0100 (GMT Daylight Time)
To: "Schweikert, Martin {POYD~Kaiseraugst}" <MARTIN.SCHWEIKERT@roche.com>
cc: "'html-tidy@w3.org'" <html-tidy@w3.org>
Message-ID: <Pine.WNT.4.10.10003311803390.-553033@hazel.hpl.hp.com>
On Thu, 30 Mar 2000, Schweikert, Martin {POYD~Kaiseraugst} wrote:

> As far as I can see, <center></center> is not compliant to the
> standard. I know it is widely used, though.
> 
> I would like it if tidy could complain on the use of <center> or
> even replace it:
> 
> <center>
> 	<h1>Heading</h1>
> </center>
> 
> 	|
> 	v
> 
> <h1 align="center">Heading</h1>

You might want to experiment with the -clean option which
deals with this kind of change.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
tel/fax: +44 122 578 3011 (or 2521) +44 385 320 444 (mobile)
World Wide Web Consortium (on assignment from HP Labs)
Received on Friday, 31 March 2000 12:06:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:43 GMT