Re: another 4.01 validation question

by "rudy" <r937(at)interlog.com>

 Date:  Fri, 30 Nov 2001 13:33:59 -0500
 To:  "Andy Innes" <innax(at)icon.co.za>,
"HWG-Techniques" <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
> Why does the w3c validator disallow the following
> attributes in the body tag?
>
> marginwidth, marginheight, leftmargin, topmargin, rightmargin
>
> These are page border attributes for ie and nn

hi andy

well, there's your answer

some of them are microsoft-proprietary, and the others netscape-proprietary

i.e. they are non-standard

hence they get flagged

if you want to achieve the same in a valid way, use

  <body style="margin:0px;padding:0px">

rudy

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA