W3C home > Mailing lists > Public > www-validator@w3.org > July 2002

Re: Can you please explain

From: Liam Quinn <liam@htmlhelp.com>
Date: Tue, 23 Jul 2002 22:43:53 -0400 (EDT)
To: Wendy Budden <Wendy.Budden@premiers.qld.gov.au>
cc: "'www-validator@w3.org'" <www-validator@w3.org>
Message-ID: <Pine.LNX.4.33L2.0207232241560.8503-100000@localhost.localdomain>

On Wed, 24 Jul 2002, Wendy Budden wrote:

> I have been using the validator to run over our new site as we develop it.
> I keep getting this error.
> Line 63, column 50:
>   ... #FF00FF" vlink="#FFCC99" leftmargin="0" topmargin="0" marginwidth="0"  ...
>                                                         ^
> Error: there is no attribute "TOPMARGIN" for this element (in this HTML version)
>
> Can you provide some advice on how I can correct this error?

The TOPMARGIN attribute is not in any W3C HTML specification.

To correct the error, you can remove the TOPMARGIN attribute (along with
LEFTMARGIN, etc.) and instead use Cascading Style Sheets to specify the
margin.  Alternatively, you can keep TOPMARGIN and use a custom DTD as
described at <http://www.htmlhelp.com/tools/validator/customdtd.html>.

-- 
Liam Quinn
Received on Tuesday, 23 July 2002 22:43:52 GMT

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