- From: David Dorward <david@dorward.me.uk>
- Date: Wed, 05 Jun 2013 14:16:51 +0100
- To: bbecula@mac.hush.com
- Cc: www-validator@w3.org
Received on Wednesday, 5 June 2013 13:17:25 UTC
On 5 Jun 2013, at 8:15, bbecula@mac.hush.com wrote: > I have images which are currently sized … with width in percent. > This means that they scale nicely … > The validator insists that only 'px' should be used for widths, > > What to do? First, check [the spec](http://www.w3.org/TR/html5/embedded-content-0.html#attr-dim-width) to confirm that the validator is right (which it is, for HTML 5): >> Note: The dimension attributes are not intended to be used to stretch >> the image. Then use CSS for any presentation you wish to apply to your document. -- David Dorward http://dorward.co.uk/
Received on Wednesday, 5 June 2013 13:17:25 UTC