W3C home > Mailing lists > Public > www-validator@w3.org > August 2003

RE: Error in validator: 1st <table> treated differently in XHTML transitional?

From: Asbjørn Ulsberg <asbjorn.ulsberg@nrk.no>
Date: Thu, 7 Aug 2003 16:43:29 +0200
Message-ID: <D186E3C450FED2119AFA00508B08736F06E9394B@MAEXCH05>
To: "'Purodha Blissenbach'" <bli00@hostsharing.net>
Cc: "studioasl.com Verteiler" <studioasl@purodha.net>, www-validator@w3.org

Purodha B Blissenbach wrote:

> Validator does not like 'colspacing=' and 'colpadding='
> in the first table in the document, see line 69, while in
> lines 77, 91, and 183 it accepts tables having identical
> attribute lists.

The attributes aren't called "colspacing" and "colpadding",
but "cellspacing" and "cellpadding". Also, it's not good
practice to set display properties in HTML; you should use
CSS instead.

I can also see that you are using <table> for presentational
layout, and I can't understand why as the page you are
referring to is plain and single-columned. Use <p>'s to
indicate paragraphs, and when some positional grips are
needed, use CSS.

-- 
Asbjørn Ulsberg           -=|=-          X-No-Archive: No
"He's a loathsome offensive brute, yet I can't look away"
Received on Thursday, 7 August 2003 10:43:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:09 GMT