- From: David Dorward <david@dorward.me.uk>
- Date: Thu, 6 Jan 2011 15:42:17 +0000
- To: Linda Seger <lindaseger@earthlink.net>
- Cc: <www-validator@w3.org>
On 6 Jan 2011, at 14:47, Linda Seger wrote: > Love the validator. However, I wonder each time I use it why the validation > icon code gives the width and height of the icon without "px." > > height="31" width="88" > > Shouldn't that be height="31px" width="88px"? No. The height and width attributes take either a pixel value as an integer or a percentage. They do *not* take CSS lengths. Specifying px is an error (although not a validity error as the constraint is not expressed in the DTD). -- David Dorward http://dorward.me.uk
Received on Thursday, 6 January 2011 15:43:53 UTC