Den 19.04.2014 16:00, Tedd Sperling wrote:
4. Lastly, use ems for images as well. That way your entire site
scales well with zooms.
I find there is something wrong/missing in that statement, as images
scale with browser-zoom no matter how we define sizes. Of course no harm
done in setting image dimensions in 'em', but not setting dimensions
works equally well. And, in images 'width' and 'height' attributes it is
pixels anyway ... if those are used to speed up page-stabilization.
Having images scale with text-size is not what I would call good
practice, as that makes "text-only zooming" pretty useless for end-user.
I only define 'max-width' for images, to make sure they stay within
available space regardless of screen/window/page width, and for this I
use '%' of container width. The rest I leave to end-users.
regards
Georg
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/