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

Re: Enhanced "stylising" request

From: Dave Raggett <dsr@w3.org>
Date: Tue, 28 Mar 2000 19:02:51 +0100 (GMT Daylight Time)
To: Michael Nahrath <subotnik@gmx.de>
cc: html-tidy@w3.org
Message-ID: <Pine.WNT.4.10.10003281900410.-462379@hazel.hpl.hp.com>
On Fri, 24 Mar 2000, Michael Nahrath wrote:

> Barney Wol <Barney.Wol@noctua.demon.co.uk> schrieb am 08.02.00 17:39:
> 
> > The facility to convert old-fashioned FONT tags etc. to STYLE
> > in HTML Tidy is brilliant, and has certainly helped this novice
> > who was fighting with the STYLE syntax - thank you!
> 
> The problem is it can not make presentational markup structural,
> so in most cases the HTML you get is syntactically and
> presentationally (on the latest Browsers) correct, but it is not
> good.
> 
> For example: Word 97/98 exports headings (even if defined in
> Word correctly) as 'big bold standard-text', not as <h1>...<h6>.

Actually, that is just what Tidy tries to do. See AddFontSize()
in clean.c. The rule of thumb is imperfect but works fairly well.

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 Tuesday, 28 March 2000 13:02:54 GMT

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