Re: Tidy strips <center> tags within <p> tags

On 30 Sep 2006 at 21:28, Cory Nelson said:

> 
> On 9/30/06, Mike Breiding - Morgantown WV <mike@mbreiding.us> wrote:
> >
> >  Can anyone tell me why Tidy is stripping the <CENTER> tags and how to
> > prevent it?I am using tidy from within NoteTab 4.95
> >  I am not sure what version of Tidy I have but it was downloaded in the
> >  last
> > 8 months and the files size is 304K.
> 
> <center> is not valid within <p>.  Tidy is correcting it, like it was made
> to do.

<center> *is* valid for (X)HTML Transitional, but not for (X)HTML Strict.

Received on Sunday, 1 October 2006 13:29:14 UTC