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

RE: BODY Attribute Question

From: Ian Anderson <ianderso@cogeco.ca>
Date: Thu, 28 Mar 2002 14:10:30 -0500
To: <www-validator@w3.org>
Message-ID: <000001c1d68c$3da036c0$2a00a8c0@sillycow>
I had the same problem. You should use Style Sheets to define margins in
HTML 4.01 Transitional. Browsers that don't understand style sheets
don't understand margin definitions anyway, so you may as well convert

-----Original Message-----
From: www-validator-request@w3.org [mailto:www-validator-request@w3.org]
On Behalf Of Bain, Kathy D
Sent: March 28, 2002 12:33 PM
To: 'www-validator@w3.org.'
Subject: BODY Attribute Question

I can't seem to get my HTML documents to be Valid HTML 4.01
Transitional.  I need these attributes (topmargin, leftmargin,
marginwidth, marginheight ) in my body tag.  Everything works fine, but
I'd like to be able to show that my documents are W3C compliant.  Why do
I keep getting this error and what does it mean?  Is it my the SGML

Line 43, column 16: Error: there is no attribute "TOPMARGIN"
            <body topmargin="0" leftmargin="0" marginwidth="0"
marginheight="0" on ...

Line 43, column 31: Error: there is no attribute "LEFTMARGIN"
	<body topmargin="0" leftmargin="0" marginwidth="0" marginhei ...

Line 43, column 47:   Error: there is no attribute "MARGINWIDTH"
	gin="0" leftmargin="0" marginwidth="0" marginheight="0" onLo ...

Line 43, column 64:  Error: there is no attribute "MARGINHEIGHT"
	n="0" marginwidth="0" marginheight="0" onLoad="MM_preloadIma ...

Kathy Bain
Received on Thursday, 28 March 2002 14:10:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:32 UTC