W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2000

RE: question about cleaning up XHTML file

From: Stuart Updegrave <supde@microsoft.com>
Date: Tue, 26 Sep 2000 08:57:59 -0700
Message-ID: <0BCB0124CCB04841A9F6934119FBF73845BDDF@red-msg-07.redmond.corp.microsoft.com>
To: "'Liwen Zhong'" <lzhong@scortsoftware.com>, "'html-tidy@w3.org'" <html-tidy@w3.org>

It's saying two things: 

1) add a summary="some description of the contents of the table" to your
<table> tag
2) remove the <font> tags and replace with CSS

BTW -- cleaning HTML generated by Word is a bear. 


-----Original Message-----
From: Liwen Zhong [mailto:lzhong@scortsoftware.com]
Sent: Thursday, September 21, 2000 8:44 AM
To: 'html-tidy@w3.org'
Subject: question about cleaning up XHTML file

Hi, when i use tidy to clean up XHTML file, i got this error message:

"The table summary attribute should be used to describe
the table structure. It is very helpful for people using
non-visual browsers. The scope and headers attributes for
table cells are useful for specifying which headers apply
to each table cell, enabling non-visual browsers to provide
a meaningful context for each cell.

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."

I guess this error is from the format such as :

"<table border=1 cellspacing=0 cellpadding=0 style='margin-left:41.75pt;
 border-collapse:collapse;border:none;mso-border-bottom-alt:solid windowtext
 mso-padding-alt:0in 0in 0in 0in'>"

"<p class=MessageHeaderFirst style='margin-left:0in;text-indent:0in'><span
  class=MessageHeaderLabel><font size=1 face="Arial Black"><span
  size=1 face="Arial Black"><span style='font-size:9.0pt;mso-bidi-font-size:
  10.0pt;font-family:"Arial Black"'>o:</span></font></span></p>".

But i don't understand what exactly the error message is trying to tell me
and how to go around this.
Thanks so much for your help in advance.

Best regards,

Received on Tuesday, 26 September 2000 11:59:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:48 UTC