- From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- Date: Thu, 09 Nov 2006 01:03:11 +1100
- To: anders moen <anders_sm@hotmail.com>
- CC: www-validator@w3.org
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