Re: Enhanced "stylising" request

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 UTC