W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2003

Re: Some problem with the attribute values.

From: Rijk van Geijtenbeek <rijk@opera.com>
Date: Thu, 09 Oct 2003 10:42:10 +0200
Cc: Vicky <vicky.roberts@solversa.com>
To: HTML-tidy list <html-tidy@w3.org>
Message-ID: <oprwro4kswyoq9u9@localhost>

On Thu, 9 Oct 2003 12:17:13 +0530, Vicky <vicky.roberts@solversa.com> 
wrote:

>   I have made a site and used align attribute and I've given values as 
> <td align="top">
> and <img align="center"> it works but when I check the code its showing 
> warning for that. Are this 2 values correct ..?? Please let me know 
> a.s.a.p.

'align=top' is not a proper attribute/value pair, you probably meant 
'valign=top'. See the HTML 4 spec for what attributes are available and 
what their possible values are.

'align=center' is OK, as long as you use a 'Transitional' Doctype. For 
'Strict', all presenatational attributes should be removed. Which is 
something Tidy can do for you, BTW, if you use the 'clean' option.

-- 
The Web is a procrastination apparatus:  |  Rijk van Geijtenbeek
It can absorb as much time as            |
is required to ensure that you           |  mailto:rijk@opera.com M
won't get any real work done.  - J.Nielsen
Received on Thursday, 9 October 2003 04:54:10 UTC

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