I was reading Web Content Accessibility Guidelines 1.0 (sec 3.4, page 13) where it says to use em rather than pt.
My question is that the images that you develop for a web site are done in terms of pixels. So if you are using relative sizing for them, the browser will have to scale them. Is there any good techniques to ensure that the pictures do not get too distorted (i.e. bits become too blurred etc)? Alternatively if you chose not to scale the images, is there any techniques to ensure that the layout does not get corrupted?
I recommend you have a read of Responsive Web Design by Ethan Marcotte. He talks about a technique of not specifying any height/width on your
imgtags, and instead set themax-widthto 100%:In fact, this will work for any fixed-width elements like videos/flash etc
IE6 and below don’t support max-width properly, so you can set
width: 100%;instead, which is a basic workaround.The book also explains how to use
AlphaImageLoaderto improve image scaling in IE7 and below.