- From: Dave Raggett <dsr@w3.org>
- Date: Thu, 21 Feb 2002 09:27:51 +0000 (GMT Standard Time)
- To: html-tidy@w3.org
- cc: Sakulwong Kesorn <g4137567@yahoo.com>
---------- Forwarded message ---------- Date: Thu, 21 Feb 2002 01:14:06 -0800 (PST) From: Sakulwong Kesorn <g4137567@yahoo.com> To: dsr@w3.org Subject: Problem of Tidy Dear Sir, I use Tidy to convert html file to xml file, but I have a problem that is the <FONT> tag and <NOBR> tag miss from xml file. ------------------- html file (source)--------------------- <html> ... <TD valign="middle" align="center" HEIGHT="17" WIDTH="100" nowrap> <A class="menuLink" onMouseOver="oMenu(2)" onMouseout="cMenu(2)" HREF="/index.htm"> <FONT COLOR="#FFFFFF" FACE="VERDANA,ARIAL" SIZE="1"><B><NOBR> <DIV STYLE='FONT-SIZE: 10px'>Information</DIV></NOBR></B></FONT></A></TD> ... </html> ------------------------------------------------------------- ------------------- xml file (destination)----------------- <html> ... <td valign="middle" align="center" height="17" width="100" nowrap="nowrap"><a class="menuLink" onmouseover="oMenu(2)" onmouseout="cMenu(2)" href="/index.htm"> <div style='FONT-SIZE: 10px'>Information</div></a> </td> ... </html> ------------------------------------------------------------- And a error file is .... You are recommended to use CSS to specify the font and properties such as its size and color. This will reduce the size of HTML files and make them easier maintain compared with using <FONT> elements. You are recommended to use CSS to control line wrapping. Use "white-space: nowrap" to inhibit wrapping in place of inserting <NOBR>...</NOBR> into the markup. .... --------------------------------------------------------- Please suggest the solution to solve this problem. I look forward to your suggestion because it is an important suggestion for me. If you want to test ,I attached the html file and my configulation file for your testing. Best Regard, Kesorn __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
Received on Thursday, 21 February 2002 04:27:41 UTC