#920 table in center is not centered anymore after cleaning


An example is the google home page, but a much shorter one is: <center><table><td>test
If you process it with tidy -c, the table is not centered anymore.


  • Geoff

    Geoff - 2016-02-08

    Thanks for another report... now long ago... sorry for the delay...

    Tidy source has moved on to https://github.com/htacg/tidy-html5,
    site to http://www.html-tidy.org/

    Agreed, while most browser still support <center>, and will center say a table within this block, this center tag has been long depreciated by the W3C, and the current CSS generated by Tidy -c will usually no longer center a table... so this remains a problem. Reading around there are some alternatives...

    If you want to file a 'Feature Reuest' to change tidy, then please add an issue, and if you find, fix, and test the feature in a tidy fork then you can issue a Pull Request together with sample html and config used.

    Tidy needs your support...

    Meantime closing this as out-of-date...

    Last edit: Geoff 2016-02-08
  • Geoff

    Geoff - 2016-02-08
    • status: open --> closed-out-of-date

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks