topmargin/leftmargin validation

by "sfmalo" <sfmalo(at)msn.com>

 Date:  Wed, 31 Jan 2001 09:26:49 -0800
 To:  <hwg-basics(at)hwg.org>
  todo: View Thread, Original
According to my HTML 4.0 book and a fellow web designer, I.E. supports the
topmargin, leftmargin, bottommargin, and rightmargin attributes for the
<.body> tag. According to W3C's Validator for 4.01 Transitional, I get this
message: <.body bgcolor="#fefefe" leftmargin="0" topmargin="0">

Error: there is no attribute "LEFTMARGIN" and

Error: there is no attribute "TOPMARGIN"

Confusing. And, of course, it does what it's supposed to do for the page but
W3C doesn't like it. This is the only error message I get, so I can't
validate the page. Any comments/suggestions?

P.S. Is there a workaround to please Netscape 4.x and 6 (ha, ha)?

---------------------------------------------------------------------------
Sharon F. Malone
http://www.24caratdesign.com
"web page design and Internet writing services"

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA