W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2003

Re: font tags

From: Matt Williams <lists@yewlands.com>
Date: Tue, 20 May 2003 10:07:59 +0100
To: Eccles Peter <PEccles@EUROMONEYPLC.COM>
Cc: html-tidy@w3.org
Message-Id: <200305201007.59890.lists@yewlands.com>

On Saturday 17 May 2003 11:11, you wrote:

> Matt,
>
> Just to clarify -  you want to change all the <font style="blah"> in to
> <font color="#blah">? Or do you want to remove the style?
>
> Our CMS system is using the same technique you've mentioned and I think
> we've worked around most problems. I'm pretty sure there's simple solution.
>
> Peter

Hi peter

Thanks for the reply

I want to change

<font style="blah"> to <span style="blah">

and

<font color="#f00"> to <span style="color:#foo">

Currently htmltidy will replace all font tags with custom style classes and 
places the the style definitions in the header. but I would like to put all 
the style definitions inline. This is because only the html inside the body 
tag gets used, the rest will be deleted.

Regards

Matt
Received on Tuesday, 20 May 2003 05:08:50 GMT

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