W3C home > Mailing lists > Public > www-validator@w3.org > August 2005

Re: [VE][108] Error Message Feedback

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Mon, 08 Aug 2005 14:42:11 +1000
Message-ID: <42F6E2A2.8080308@lachy.id.au>
To: Roy <roy@fixya.com>
CC: www-validator@w3.org

Roy wrote:
> What do I gotta do when receiving message "there is no attribute "HEIGHT""
> in a table tag

Remove it.

> in which there IS an attribute "HEIGHT":
> <table  width="480" height="117" border="0"  cellspacing="0"
> cellpadding="0">

While there is an erroneous height attribute in your markup, there is no 
height attribute defined for the table element in the DTD.  In fact, you 
should remove every single attribute you've used there, leaving you with 
just this:


...and replace them with CSS properties, preferably in an external 
stylesheet.  Additionally, if the table in question is being used as a 
means to layout and present your document, you should consider removing 
the table completely and using more semantically correct markup using 
CSS for *all* layout and presentation.

Lachlan Hunt
Received on Monday, 8 August 2005 04:43:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:52 UTC