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

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?

Despite the confusing wording of the error message, it actually means 
that the topmargin attribute isn't defined.  It's a proprietary 
extension that should not be used.

http://validator.w3.org/docs/errors.html#ve-108

You don't need to use attributes like topmargin and bottommargin, you 
can use CSS instead.  e.g.

body { margin: 5px 0; }

-- 
Lachlan Hunt
http://lachy.id.au/

Received on Wednesday, 8 November 2006 14:03:28 UTC