Re: Complain on <center>

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 UTC