W3C home > Mailing lists > Public > www-validator@w3.org > November 2006

Re: Your validator says I got errors that I don't have...

From: David Dorward <david@dorward.me.uk>
Date: Wed, 8 Nov 2006 13:59:47 +0000
To: anders moen <anders_sm@hotmail.com>
Cc: www-validator@w3.org
Message-ID: <20061108135947.GA743@us-lot.org>

On Wed, Nov 08, 2006 at 02:50:54PM +0100, anders moen wrote:
>    <BODY TOPMARGIN="5" BOTTOMMARGIN="5">
> 
>    This is some of the stuff in my code, but still I get "no attribute" <BODY
>    TOPMARGIN="5" BOTTOMMARGIN="5"> Does that mean "TOPMARGIN" isn't any
>    attribute?

It isn't an attribute defined in the DTD you specified with your
Doctype, nor is it an attribute in any standard version of HTML. Its
proprietary gubbins left over from the browser wars of the mid-90s and
long since superseded with CSS (which sees better support among
browsers too).

-- 
David Dorward                                      http://dorward.me.uk
Received on Wednesday, 8 November 2006 13:59:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:08 UTC