E-mail List Archives

Re: ISO-HTML

for

From: Andrew Kirkpatrick
Date: Jun 27, 2005 12:00PM


> And putting the height & width in the style sheet will immediately
> break validation from the W3C validator.

This isn't true. Height and width are optional attributes, so putting
these in the CSS won't make the HTML not validate. Height and width in
the CSS aren't a validation problem either.

In fact, if you are using ems for sizing, there is benefit to sizing
the images in the CSS since you can get the image to resize along with
the text when the user increases the font size (if that is desirable on
the particular site or for a particular image).

For a working example:
http://www.htmldog.com/articles/elasticdesign/demo/ (example cited in
Patrick Griffith's alistapart.com article, "Elastic Design".

AWK

--
Andrew Kirkpatrick
WGBH National Center for Accessible Media
125 Western Ave.
Boston, MA 02134
E-mail: <EMAIL REMOVED>
617.300.4420