- From: J. David Bryan <jdbryan@acm.org>
- Date: Mon, 11 Dec 2000 23:34:00 -0500
- To: HTML Tidy List <html-tidy@w3.org>
On 11 Dec 2000, at 15:00, Wier, David wrote:
> I've just started using Tidy and I'm using -clean.
>
> I understood that on top of the indent feature, it also changes the <font>
> tags to CSS...
Right.
> ...and it changes the <center> tags (to what I'm not sure - am I wrong
> about that?
No, it changes <center> to CSS too.
> The reason I ask is that it does neither for me - it just indents
>
> My line is tidy -clean filename.htm
It works fine here. If I run Tidy on a file containing:
<center>
<p><font face="Arial">this is text</font></p>
</center>
...in the body, I get:
<style type="text/css">
div.c2 {text-align: center}
p.c1 {font-family: Arial}
</style>
in the head, and:
<div class="c2">
<p class="c1">this is text</p>
</div>
in the body, which is what I would expect.
-- Dave
Received on Monday, 11 December 2000 23:34:03 UTC