E-mail List Archives
From: Andrew Kirkpatrick
Date: Jun 27, 2005 12:00PM
- Next message: Cheryl D Wise: "RE: ISO-HTML"
- Previous message: Thomas Jedenfelt: "Re: ISO-HTML"
- Next message in Thread: Cheryl D Wise: "RE: ISO-HTML"
- Previous message in Thread: Thomas Jedenfelt: "Re: ISO-HTML"
- View all messages in this Thread
> 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".
WGBH National Center for Accessible Media
125 Western Ave.
Boston, MA 02134
E-mail: <EMAIL REMOVED>