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

Re: Complain on <center>

From: Peter Evans <evans@i.hosei.ac.jp>
Date: Thu, 30 Mar 2000 17:50:02 +0900
Message-Id: <200003300853.RAA24085@ns.i.hosei.ac.jp>
To: html-tidy@w3.org
> <center>
> 	<h1>Heading</h1>
> </center>
> 
> 	|
> 	v
> 
> <h1 align="center">Heading</h1>

Better would be to achieve this in CSS.  I think you'll find that if you submit
such code to Tidy in its "clean" mode, you'll get it back without either
<center> or <.. align="center"> but instead with all the centering handled by
CSS.
+++++++++++++++++++++
Peter Evans evans@i.hosei.ac.jp
Received on Thursday, 30 March 2000 03:53:45 GMT

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